Commit graph

1534 commits

Author SHA1 Message Date
SergeantPanda
d850166a80 Add conditional channel_group_id assignment in ChannelViewSet. This fixes an issue where if a group isn't assigned to a stream it would fail to create a channel from the stream.
Closes #122
2025-06-10 15:47:27 -05:00
SergeantPanda
11d3d7a15a Add case-insensitive attribute lookup for M3U parsing 2025-06-10 14:45:49 -05:00
SergeantPanda
1f6f15ed73 Add stream type to stats page. 2025-06-10 10:10:05 -05:00
SergeantPanda
f869daa37c Add stream type for stream (HLS/MPEGTS, ETC) 2025-06-10 09:51:56 -05:00
SergeantPanda
b8992bde64 Add audio channels to stats page. 2025-06-10 09:23:43 -05:00
SergeantPanda
efaa64d00b Fix resolution not always parsing correctly. 2025-06-10 09:08:04 -05:00
dekzter
a1576bd493 merged in dev 2025-06-10 08:55:14 -04:00
dekzter
82f35d2aef check and warn before saving a network access setting that could block current client access 2025-06-10 08:46:36 -04:00
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
Marlon Alkan
192edda48e
apps: output: change body detection logic and add tests 2025-06-08 17:29:20 +02: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
dekzter
9f96529707 merged in main 2025-06-03 17:49:24 -04: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
dekzter
3f445607e0 looooots of updates for user-management, initial commit of access control 2025-05-31 18:01:46 -04: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
dekzter
6504db3bd4 merged in dev 2025-05-28 18:34:45 -04: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