Commit graph

463 commits

Author SHA1 Message Date
SergeantPanda
0fed65a478 Add FFmpeg speed and audio codec information to channel details 2025-06-09 19:55:10 -05:00
SergeantPanda
71079aead3 Add ffmpeg stats to channel status api. 2025-06-09 19:36:27 -05:00
SergeantPanda
47500daafa Moved some functions to channel_service 2025-06-09 19:10:52 -05:00
SergeantPanda
7e25be0717 Store video and audio information in redis. 2025-06-09 18:57:36 -05:00
SergeantPanda
7d0c32ef3f Break line breaking for stats. 2025-06-09 17:45:00 -05:00
SergeantPanda
9d8e011e2c Store FFmpeg in redis. 2025-06-09 17:36:01 -05:00
SergeantPanda
44c8189c29 Merge branch 'dev' of https://github.com/Dispatcharr/Dispatcharr into ffmpeg-stats 2025-06-09 15:42:31 -05:00
SergeantPanda
7acc31ec97 Allow for tuners as low as 1 instead of 2.
Closes #149
2025-06-07 19:27:59 -05:00
SergeantPanda
8ae314fbb0 Merge branch 'dev' of https://github.com/Dispatcharr/Dispatcharr into dev 2025-06-06 19:05:35 -05:00
SergeantPanda
8ee68a2349 Deny POST if there body isn't empty. 2025-06-06 19:04:19 -05:00
SergeantPanda
9b053ce1a5
Merge pull request #112 from maluueu/iptv-smarters-support_csrf-exception
apps: output: views.py: exclude M3U endpointfrom CSRF protection
2025-06-06 19:03:47 -05:00
SergeantPanda
708a269ae5 Adds the ability to add 'direct=true' to m3u output url. Doing so will use the URL from the provider instead of the Dispatcharr URL. 2025-06-06 12:21:08 -05:00
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
Marlon Alkan
669120e35a
apps: output: views.py: exclude M3U endpointfrom CSRF protection
Excludes the M3U generation view from CSRF protection. This allows IPTV Smarters apps (I only tested on Android) to access the playlist. Otherwise a 403 error is returned because instead of an GET request these apps are doing a POST request with empty body to the endpoint.
2025-05-31 01:31:19 +02: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
4c79af1f30 Log ffmpeg stats 2025-05-28 15:26:42 -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