Commit Graph
3 Commits
Author SHA1 Message Date
4gray e5a1684fea feat(epg): fetch epg from local files 2025-04-04 20:25:46 +02:00
4gray 15da94c662 refactor(backend): restructure tauri commands 2024-12-07 16:26:51 +01:00
4gray 7c49995e23 feat(epg): implement-source EPG data fetching
Add support for multiple EPG sources by introducing a new 
`EpgStore` structure that holds a vector of `EpgSource` 
instances. Replace the static `EPG_DATA` with a thread-safe 
`OnceCell` containing a mutex-protected `EpgStore`. 
Implement the `fetch_and_parse_epg` function to fetch and 
update EPG data from a given URL, handling both gzipped 
and regular XML data formats. Enhance error handling and 
logging for better traceability during data fetching and 
parsing.
2024-11-28 23:51:03 +01:00