Commit graph

151 commits

Author SHA1 Message Date
SergeantPanda
6c1bfaf052 Increase server url max length from 200 to 1000 characters to accomodate tokens in the url 2025-09-02 10:20:23 -05:00
SergeantPanda
6f6c28ca7c Convert custom_properties to jsonb in the backend. 2025-09-02 09:41:51 -05:00
SergeantPanda
a87f7c875d Merge custom properties when refreshing groups instead of overwriting. 2025-09-02 09:10:52 -05:00
SergeantPanda
071e74124e Remove relations to groups that no longer exist in the m3u account. Also delete groups that are left orphaned after the relation is removed. 2025-09-01 21:09:50 -05:00
SergeantPanda
7ea10064d7 Update group custom_properties during m3u update.
Fixes issue when converting from M3U account to XC. Will add the xc_id now.
2025-09-01 19:48:30 -05:00
SergeantPanda
10d5d487c3 Fix regex replacement pattern for M3U profile consistency in auto channel sync 2025-08-31 09:03:11 -05:00
SergeantPanda
3aa68c1a36 Enhancement: Allow overriding of default stream profile for auto channel sync. 2025-08-31 08:49:45 -05:00
SergeantPanda
b17bc21159 Cleanup orphaned channels if stale stream retention deleted the last stream from the channel and was created by auto channel sync for the current m3u. 2025-08-31 08:30:17 -05:00
SergeantPanda
fc2caa0e12 Cleaned up code for fetching. 2025-08-30 20:21:19 -05:00
SergeantPanda
22498de395 Better error detection and logging for the user when m3u downloads fail. 2025-08-30 20:14:58 -05:00
SergeantPanda
b5e32421bd Cleanup unused code. 2025-08-30 09:33:56 -05:00
SergeantPanda
41bd372b14 Save all custom_properties for xc. 2025-08-29 19:55:02 -05:00
SergeantPanda
c24da847fc Get all live streams at once and filter by category. 2025-08-29 19:18:25 -05:00
SergeantPanda
d2b6096570 Changes to XC processing for faster parsing. 2025-08-29 16:39:57 -05:00
SergeantPanda
e3f988b071 Remove shared task from batch m3u processesing. 2025-08-29 15:51:42 -05:00
SergeantPanda
3a81227a73 Move tuner calculation to central location and use it to dynamically calculate tuner counts for XC api user_info 2025-08-28 15:26:51 -05:00
dekzter
11bc2e57a9 optimized vod parsing, added in vod category filtering, added UI individual tabs for movies vs series VOD category filters 2025-08-25 14:37:20 -04:00
SergeantPanda
3ecd7137ff Added misssing bulk fetch function for vod categories. 2025-08-22 17:12:50 -05:00
dekzter
c80752a21d attempting to fix updated reference name 2025-08-22 17:36:57 -04:00
dekzter
a19bd14a84 added vod category filtering 2025-08-22 16:59:00 -04:00
SergeantPanda
24f876d09f Add priority for providers so VOD's can be auto selected based on the priority. 2025-08-20 17:38:21 -05:00
SergeantPanda
2903773c86 Merge branch 'dev' of https://github.com/Dispatcharr/Dispatcharr into vod-relationtest 2025-08-19 12:39:21 -05:00
dekzter
5a92487d38 fixed group filtering: 2025-08-06 14:45:55 -04:00
dekzter
b7abdac800 merged in dev 2025-08-05 10:56:01 -04:00
dekzter
f300da6eff case sensitive flag and other possible custom properties for filters 2025-08-03 08:40:00 -04:00
SergeantPanda
bcebcadfaa Add ability to scan for vods during m3u refresh. 2025-08-02 12:01:26 -05:00
SergeantPanda
1c47b7f84a Adds ability to reverse the sort order for auto channel sync. 2025-08-01 16:42:42 -05:00
dekzter
ead76fe661 first run at m3u filtering 2025-08-01 15:02:43 -04:00
SergeantPanda
7b5a617bf8 Use custom validator for urls fields to allow for non fqdn hostnames.
Fixes #63
2025-08-01 11:28:51 -05:00
SergeantPanda
db6e09370c Fix bug when sorting by name. 2025-07-28 18:09:43 -05:00
SergeantPanda
7c442064e6 Implement natural sorting for channel names in auto channel sync 2025-07-28 18:01:50 -05:00
SergeantPanda
336a0d2558 Add ability to sort auto channel sync order by either provider order (default), name, TVG ID or updated at. 2025-07-28 17:43:19 -05:00
SergeantPanda
7313cafa1c Adds the ability to have the auto channel sync create channels in specificed channel profiles.
Closes #255
2025-07-27 19:14:39 -05:00
SergeantPanda
7eef45f1c0 Only use whole numbers when looking for a number not in use. 2025-07-20 20:13:59 -05:00
SergeantPanda
f6fa90178d Adds the ability to auto channel sync to only add channels where the stream name matches a regex. 2025-07-19 15:23:10 -05:00
SergeantPanda
935f4c1da2 Filter out stale streams from auto channel creation. 2025-07-19 14:30:57 -05:00
SergeantPanda
003ad4c54f Add channel name regex match/replace for auto sync. 2025-07-19 13:13:05 -05:00
SergeantPanda
8fa27904e7 Add ability to override group name during auto channel creation. 2025-07-17 18:42:42 -05:00
SergeantPanda
e9055a5ad6 Activate setting 2025-07-17 17:36:32 -05:00
SergeantPanda
a5f7a88ba0 Add option to force dummy epg. 2025-07-17 16:54:37 -05:00
SergeantPanda
7292ad460f If previous channel had decimal don't continue with decimals. 2025-07-14 16:58:27 -05:00
SergeantPanda
e7eab09dfc Only update channels that changed. Don't delete and readd all. Otherwise UUIDS/links will break. 2025-07-14 16:42:26 -05:00
SergeantPanda
12c086dcd1 Delete all auto-synced channels and create new ones. 2025-07-13 18:02:26 -05:00
SergeantPanda
b91a2286e4 Add auto-created tracking to Channel model and related serializers
- Introduced `auto_created` and `auto_created_by` fields in the Channel model to track channels created via M3U auto channel sync.
- Updated ChannelSerializer to include these new fields and added a method to retrieve the name of the M3U account that created the channel.
- Modified sync_auto_channels task to set these fields when creating channels and to filter existing channels accordingly.
2025-07-13 16:32:52 -05:00
SergeantPanda
ea81cfb1af Add auto channel sync settings to ChannelGroupM3UAccount and update related components
- Introduced `auto_channel_sync` and `auto_sync_channel_start` fields in the ChannelGroupM3UAccount model.
- Added API endpoint to update M3U group settings.
- Updated M3UGroupFilter component to manage auto sync settings.
- Enhanced M3URefreshNotification and M3U components for better user guidance.
- Created a Celery task for automatic channel synchronization after M3U refresh.
2025-07-13 15:59:25 -05:00
SergeantPanda
34a3f75c1c Remove garbage collection from websocket update. 2025-07-11 16:23:34 -05:00
SergeantPanda
fafd93e958 Refactor XC Client usage to improve error handling and resource management with context management. Implement connection pooling for better performance. 2025-07-10 19:14:43 -05:00
dekzter
30b2a19eb0 merged in main 2025-06-11 08:38:00 -04:00
SergeantPanda
11d3d7a15a Add case-insensitive attribute lookup for M3U parsing 2025-06-10 14:45:49 -05:00
dekzter
a1576bd493 merged in dev 2025-06-10 08:55:14 -04:00