feat: backend foundations - HTTP client, recording, scheduler, backup, local player#396
Closed
wowitsjack wants to merge 1 commit intoFredolx:mainfrom
Closed
feat: backend foundations - HTTP client, recording, scheduler, backup, local player#396wowitsjack wants to merge 1 commit intoFredolx:mainfrom
wowitsjack wants to merge 1 commit intoFredolx:mainfrom
Conversation
This was referenced Mar 7, 2026
…, local player Centralized HTTP client (http.rs) with proxy, user-agent, timeout. Server-side recording system (recording.rs) with active recording management. Background scheduler (scheduler.rs) for EPG and source auto-refresh. Full database backup/restore (backup.rs). Local MPEG-TS proxy (local_player.rs) with ffmpeg + warp for stream transcoding, HEAD-request URL resolution, and broadcast-based lifecycle. All new settings fields, commands, and exit cleanup wired in lib.rs.
cd0d761 to
0c81d60
Compare
Owner
|
I have strong suspicision this is the work of an AI agent. Closed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete backend overhaul adding 6 new Rust modules and updating 5 existing ones:
http.rs- Centralized reqwest client with configurable proxy, user-agent (per-source and global), and connection timeoutrecording.rs- Server-side recording with active recording management, stop signals, and automatic cleanupscheduler.rs- Background EPG and source auto-refresh on configurable intervals (hours)backup.rs- Full database export/import (sources, channels, groups, settings, EPG watchlist) with versioned JSON formatlocal_player.rs- MPEG-TS proxy via ffmpeg + warp, HEAD-request URL resolution for redirect streams, broadcast-based lifecycle with proper cleanup, VA-API hardware decode supportmain.rs- Panic handler for better error reportingUpdates
m3u.rs,xtream.rs,restream.rsto use centralized HTTP client. Removes deadget_user_agent_from_sourcefromutils.rs. Adds all new settings fields, tauri commands, scheduler startup in setup, and clean exit signal handling.Part 1 of 2 - This is the Rust backend. Part 2 adds the Angular frontend.
New settings
user_agent,proxy,connection_timeout(networking)epg_refresh_interval,source_refresh_interval(scheduler)buffer_size,player_engine(playback)Test plan
cargo checkpasses