Commit graph

449 commits

Author SHA1 Message Date
SergeantPanda
343ecfbca6 Allow for 'days' to be set when using the EPG url which will limit the number of days to output epg data for. 2025-06-06 12:00:08 -05:00
SergeantPanda
767c42a1fe Properly keep track of removed streams. 2025-06-05 21:34:14 -05:00
SergeantPanda
2359818d7b Calculate stale time from start of scan not start of stale cleanup function. 2025-06-05 21:26:11 -05:00
SergeantPanda
e7bf8cbede Added support for LIVE tag and dd_progrid numbering systems for epg. 2025-06-03 22:00:17 -05:00
SergeantPanda
5cb2be7c93 Add support for dynamic tvg-id source selection in EPG generation
tvg_id_source accepts tvg_id, gracenote or the default if nothing is selected channel_number
2025-06-03 19:37:57 -05:00
SergeantPanda
1f0e643954 Add support for dynamic tvg-id source selection in M3U generation
`tvg_id_source` accepts `tvg_id`, `gracenote` or the default if nothing is selected `channel_number`
2025-06-03 19:10:14 -05:00
SergeantPanda
a72eaf118f Refactor channel info retrieval for safer decoding and improved error logging. Hopefully fixes stats not showing sometimes. 2025-06-03 10:59:53 -05:00
SergeantPanda
58f5287a53 Improved logging for M3U processing. 2025-06-02 10:44:30 -05:00
SergeantPanda
a9cdc9e37a Support ?cachedlogos=false for epg as well. 2025-05-30 14:40:06 -05:00
SergeantPanda
d339c322ed Support using direct logos add '?cachedlogos=false' to end of url 2025-05-30 14:23:03 -05:00
SergeantPanda
67663e2946 Add remove_blank_text=True to lxml parser. Fixes crashes related to poorly formatted xmltv files. 2025-05-30 10:25:47 -05:00
SergeantPanda
906fbef9c2 Output errors from parser if found. 2025-05-29 13:56:20 -05:00
SergeantPanda
50048518a9 Fixes bug where mulitiple channel initializations can occur which leads to choppy streams and zombie channels. 2025-05-27 19:05:26 -05:00
SergeantPanda
4dbb363211 Removed display-name from logging as it may not exist. 2025-05-27 18:00:35 -05:00
SergeantPanda
68a7f7f4fd Add profile name to hdhr friendly name and device id. 2025-05-27 10:46:49 -05:00
SergeantPanda
3fa5301894 If cached file doesn't exist for compressed mapped file, properly re-exctract. 2025-05-27 09:54:28 -05:00
SergeantPanda
45239b744c Delete cached files when deleting epg account. 2025-05-26 16:19:57 -05:00
SergeantPanda
5d2c604a4a Peak inside gz files to see if they contain xml files. Check file list for zip files to see if they contain xml files. 2025-05-26 15:49:51 -05:00
SergeantPanda
8f4e05b0b8 Add extracted_file_path to EPGSource model and update extraction logic 2025-05-26 15:10:54 -05:00
SergeantPanda
182a009d69 Track extracted files for mapped epg files. 2025-05-25 18:14:27 -05:00
SergeantPanda
7dbd41afa8 Extract compressed files after downloading and delete original. 2025-05-25 17:39:41 -05:00
SergeantPanda
d270e988bd Greatly improve filetype detection. 2025-05-25 16:50:03 -05:00
SergeantPanda
0322a5c904 Smarter logging for file type. 2025-05-25 15:47:22 -05:00
SergeantPanda
c1eb3a6ecf Add Zip file support for EPG. 2025-05-25 14:05:59 -05:00
SergeantPanda
391a1d9707 A little more cleanup. 2025-05-25 13:29:39 -05:00
SergeantPanda
d7023bcdac Some more code cleanup 2025-05-25 13:19:49 -05:00
SergeantPanda
6c3102a60c Removed sleep from debugging. 2025-05-24 17:46:17 -05:00
SergeantPanda
f77b3b9756 Little more cleanup. 2025-05-24 17:40:45 -05:00
SergeantPanda
3f17c90a8b Cleaned up some old unneeded code. 2025-05-24 17:31:52 -05:00
SergeantPanda
759cbe2f7d Search entire epg for channels to accomodate non standard epg files. 2025-05-24 15:07:49 -05:00
SergeantPanda
f87ab4b071 Rolled back some earlier memory omptimizations that were causing issues with extremely large m3us. 2025-05-22 21:52:28 -05:00
SergeantPanda
925850a012 Fix change_streams and unchanged_streams possibly not existing when trying to clean up. 2025-05-22 16:51:20 -05:00
SergeantPanda
8302acd78a Additional cleanup while processing batches. 2025-05-22 15:34:20 -05:00
SergeantPanda
d01a69828a Added additional logging for m3u processing 2025-05-22 11:58:44 -05:00
SergeantPanda
48e76273d1 Attempt at fixing timezone issues. 2025-05-22 10:23:59 -05:00
SergeantPanda
0fcab93ac3 Enhance WebSocket update handling by limiting data size and improving garbage collection for large operations 2025-05-21 16:28:15 -05:00
SergeantPanda
6de565857d Set default refresh interval for files added via mapping to 0 since they will auto-update when modified. 2025-05-21 14:59:24 -05:00
SergeantPanda
1087568de7 Fix bug when using file upload for m3u and not being able to set "Use Default" 2025-05-21 14:22:01 -05:00
SergeantPanda
5cae2e595e Add tvc-guide-id (gracenote ID) to channel when using bulk creation. 2025-05-21 12:52:30 -05:00
SergeantPanda
500e0941e2 Fixed calling process when it may not exist (log level higher than debug) 2025-05-21 12:11:03 -05:00
SergeantPanda
303123f3ec Buffer overflow error. 2025-05-21 09:44:09 -05:00
SergeantPanda
72783090cd Delete all instead of using a loop. 2025-05-20 20:36:04 -05:00
SergeantPanda
55089044fa Cleaned up code and logging a bit more. 2025-05-20 20:07:10 -05:00
SergeantPanda
451c892457 Changed logging levels. 2025-05-20 19:49:55 -05:00
SergeantPanda
56be7b7194 Added missing dc dependency for auto-match. 2025-05-20 19:17:01 -05:00
SergeantPanda
cfad5621ce Found the problem. I hate lxml. 2025-05-20 18:43:43 -05:00
SergeantPanda
ae823ae8ea Even more debug logging. 2025-05-20 15:48:21 -05:00
SergeantPanda
7d6ef38bce Added helpful comments. 2025-05-20 15:34:03 -05:00
SergeantPanda
d52ff40db1 More logging 2025-05-20 15:15:00 -05:00
SergeantPanda
cc060bbed6 More memory logging to debug. 2025-05-20 14:49:29 -05:00