Commit graph

125 commits

Author SHA1 Message Date
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
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
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
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
dekzter
9f96529707 merged in main 2025-06-03 17:49:24 -04: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
dekzter
eb1bbdd299 merged in dev 2025-05-24 07:19:43 -04: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
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
dekzter
e979113935 merged in dev 2025-05-21 15:24:30 -04: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
dekzter
a96c5f0f5c merged in dev 2025-05-21 08:16:35 -04:00
SergeantPanda
7c809931d7 Rewored celery memory cleanup logic. 2025-05-18 20:57:37 -05:00
SergeantPanda
ed665584e9 The struggle is real 2025-05-18 17:05:03 -05:00
dekzter
79104affe3 fixed migration issues 2025-05-18 11:53:09 -04:00
dekzter
74d58515d0 user management, user levels, user level channel access 2025-05-18 11:19:34 -04:00
SergeantPanda
e5d353ec7f Handle corrupted JSON cache files in refresh_single_m3u_account function 2025-05-15 14:05:57 -05:00
SergeantPanda
790e3710a6 Created missing migrations. 2025-05-14 20:10:26 -05:00
SergeantPanda
ee8cef5aa9 Cleaned up logging. 2025-05-10 14:13:43 -05:00
SergeantPanda
ecd9d146c6 Changed several logging levels. 2025-05-10 10:29:17 -05:00
SergeantPanda
25fc69d453 Properly disable celery task if m3u is disabled. 2025-05-09 12:06:43 -05:00
SergeantPanda
6afccadf74 Delete celery tasks properly during m3u account deletion. 2025-05-09 12:00:57 -05:00