SergeantPanda
25d6322186
Merge branch 'dev' of https://github.com/Dispatcharr/Dispatcharr into Assign-tvg-id-from-epg
2025-10-04 16:59:53 -05:00
SergeantPanda
29ee837b24
Add recover=True to iterparse for parse_programs_for_tvg_id as well to fix cloudflare script injection.
2025-10-04 16:36:49 -05:00
SergeantPanda
94f966e027
Reverted to old method for parsing xml. Still will not break if Cloudflare adds a new root element.
2025-10-04 16:25:35 -05:00
SergeantPanda
d1ac5b11e5
Add EPG TVG-ID setting functionality
...
- Implemented API endpoint to set channel TVG-IDs from EPG data.
- Created Celery task to handle TVG-ID updates for multiple channels.
- Added frontend methods to initiate TVG-ID setting from EPG for both single and batch channel forms.
- Enhanced notifications for task status updates.
2025-10-04 15:20:35 -05:00
SergeantPanda
0a15e09805
Refactor XMLTV parsing to use iterparse for <tv> element. This fixes issues where Cloudflare is adding a root element and breaking the xml.
...
Fixes #497 : Cloudflare hosted EPG not supported in dispatcharr
2025-10-03 13:30:20 -05:00
SergeantPanda
d06c5bfdf3
Add recover to xmltv parser if there are errors.
2025-10-03 10:15:24 -05:00
SergeantPanda
c73271c617
Bug Fix: Sort order while bulk creating channels will now be in the order they were selected in not reverse order.
2025-10-02 13:23:24 -05:00
SergeantPanda
e841343e5b
Dont convert m3u_id to string for hash.
2025-10-02 11:06:10 -05:00
SergeantPanda
a3e4f23891
Enhancement: Add m3u_id parameter to generate_hash_key and update related calls
2025-10-02 09:14:22 -05:00
SergeantPanda
93dd37e822
Enhancement: Add x-tg-url and url-tvg URL generation with preserved query parameters to M3U content
2025-09-26 14:10:42 -05:00
SergeantPanda
70f7484fb5
Better connection tracking for apps that do not reuse connections during seeking operations.
2025-09-26 09:18:43 -05:00
SergeantPanda
7bb4df78c8
Enhancement: Update M3U profile retrieval to include current connection counts and session handling during vod session start.
2025-09-26 09:18:42 -05:00
SergeantPanda
d961d4cad1
Bug fix: VOD will now select the correct M3U profile while starting.Fixes #461
2025-09-26 09:18:22 -05:00
SergeantPanda
0cdce1a81b
Enhancement: Refactor stream selection logic when all available profiles have max connections used. Will retry faster.
2025-09-25 17:49:05 -05:00
SergeantPanda
23f397c805
Enhancement: Add exact Gracenote ID matching to EPG channel mapping
2025-09-25 11:51:10 -05:00
SergeantPanda
a12bfeab46
Enhancement: Increase max_length of URL field in EPGSource model to 1000 characters
2025-09-24 16:12:17 -05:00
SergeantPanda
6fa12f90c5
Improved url transofrmation logic to support more advanced regex during profile refreshes.
2025-09-24 15:51:26 -05:00
SergeantPanda
6f79845b21
Enhancement: Only grab first display name for a channel during epg scanning.
2025-09-21 12:40:20 -05:00
SergeantPanda
99122cac7c
Bug fix: If URL for Channel element in EPG is longer than 500 characters parsing would fail. Added validation during scanning.
2025-09-21 12:23:48 -05:00
SergeantPanda
63729fb0ea
Improved logging for stream filters.
2025-09-21 10:42:23 -05:00
SergeantPanda
b3debcd014
Fix bug during VOD cleanup where all VODs not from the current m3u scan would be deleted.
2025-09-18 14:14:04 -05:00
SergeantPanda
48a2f2da39
Simplify VOD and series access for all authenticated users by removing user-level restrictions on M3U accounts.
2025-09-18 11:17:49 -05:00
SergeantPanda
f4f29a0e27
Break out of channel child elements once required data is acquired.
2025-09-18 10:34:51 -05:00
SergeantPanda
d2d1984797
Switch bulk epg name and logo to backend celery tasks for efficiency and scrape epg channel logo during epg scanning.
2025-09-16 17:17:07 -05:00
SergeantPanda
a846b09ad3
Minor formatting adjustment.
2025-09-16 14:39:04 -05:00
SergeantPanda
60e378b1ce
Add support for matching selected channels with EPG data
...
- Updated API to accept optional channel IDs for EPG matching.
- Enhanced match_epg method to process only specified channels if provided.
- Implemented new task for matching selected channels in the backend.
- Updated frontend to trigger EPG matching for selected channels with notifications.
2025-09-16 14:38:16 -05:00
SergeantPanda
20685b8344
Lower regional bonus. Remove epg_match script.
2025-09-16 14:27:07 -05:00
SergeantPanda
c7235f66ba
Use stricter matching for bulk matching.
2025-09-16 14:12:45 -05:00
SergeantPanda
6384f4f56f
Add progress notifications for EPG matching process
2025-09-16 13:47:59 -05:00
SergeantPanda
d6bb9e40b2
Implement memory cleanup for ML models after channel matching operations
2025-09-16 13:15:32 -05:00
SergeantPanda
c55dcfd26a
Remove unnecessary checking of cache directories. Lets sentence transformers handle it.
2025-09-16 13:01:43 -05:00
SergeantPanda
fedc98f848
Removed unneeded debug logging.
2025-09-16 12:54:19 -05:00
SergeantPanda
d2085d57f8
Add sentence transformers to new matching function.
2025-09-16 12:43:21 -05:00
SergeantPanda
f6be6bc3a9
Don't use matching script
2025-09-16 09:18:41 -05:00
SergeantPanda
f1739f2394
Add EPG auto-match functionality for specific channels and update UI
2025-09-16 08:55:10 -05:00
SergeantPanda
eccc5d709a
Sort categories by name during api retrieval.
2025-09-15 20:38:18 -05:00
SergeantPanda
56aa5c77d2
Filter out profiles during db query that are inactive.
2025-09-15 20:02:40 -05:00
SergeantPanda
ed0b291237
Skip disabled m3u accounts when choosing streams during playback.
...
Closes #402
2025-09-15 17:36:31 -05:00
SergeantPanda
dfaae6e617
Enhance UserViewSet queryset to prefetch related channel_profiles for improved performance
2025-09-14 19:47:40 -05:00
SergeantPanda
5e661ea208
Fix VOD page not displaying correct order while changing pages.
2025-09-14 19:27:11 -05:00
SergeantPanda
f8e91155e2
Fix bug: cannot access local variable 'total_chunks' where it is not associated with a value
2025-09-14 15:19:51 -05:00
SergeantPanda
a1d35a8dad
Additional check if channel number is in use before creating.
2025-09-14 13:34:03 -05:00
SergeantPanda
6c1dbff91c
Send websocket when channel is created.
2025-09-14 13:27:31 -05:00
SergeantPanda
58a3da386a
Allow single channel creation from stream to specify channel number
2025-09-14 13:24:11 -05:00
SergeantPanda
4886426ea0
New feature: Allow specifying channel number during channel creation.
...
Closes #377
Closes #169 [Feature]: Starting channel number/continue auto numbering from channel number X (user defined)
2025-09-14 12:46:30 -05:00
SergeantPanda
0411fe003a
Add ability to specify starting channel numbers to the api.
2025-09-14 12:30:24 -05:00
SergeantPanda
4f49636899
Remove old bulk create view.
2025-09-14 12:19:23 -05:00
SergeantPanda
cf7ea09341
Implement asynchronous bulk channel creation from stream IDs with WebSocket progress updates
2025-09-13 19:59:43 -05:00
SergeantPanda
5875c31750
Add POST endpoint to retrieve streams by IDs and enhance channel creation process
2025-09-13 19:10:47 -05:00
SergeantPanda
41d7066d6e
Fix incorrect paths for DVR and Plugins.
2025-09-13 11:49:04 -05:00