Commit graph

105 commits

Author SHA1 Message Date
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
SergeantPanda
e63a66bf57 Change status to disabled when epg or m3u disabled. Change to idle when enabled. 2025-05-07 13:50:10 -05:00
SergeantPanda
63b260698d Removed old websocket call. 2025-05-06 20:50:33 -05:00
SergeantPanda
4966bb61bc Enhance M3U fetching process with status updates and detailed progress messages 2025-05-06 19:18:10 -05:00
SergeantPanda
92d09eea3b Enhance XCClient with robust error handling and user agent management; improve M3U processing logic for better error reporting and validation. 2025-05-06 18:00:37 -05:00
SergeantPanda
95ac700b3c Fixes all refreshes showing notification for pending setup. 2025-05-06 08:11:16 -05:00
SergeantPanda
ae93bc2a1f Adds a "Pending Setup" status so the user knows they need to select groups before their streams are imported. 2025-05-05 19:50:20 -05:00
dekzter
995ae3008c honor m3u account user-agent in xc client 2025-05-05 10:24:37 -04:00
SergeantPanda
30e82fb302 Lots of status message fixes. 2025-05-04 19:33:03 -05:00
SergeantPanda
b713b516b4 Convert m3u accounts to a similar format to epg for status updates. Renamed DB field last_error to last_message so we can use it for more messaging. Migration to change updated_at field to not be updated everytime the m3u changes. It should only update the updated_at when we successfully update the m3u. 2025-05-04 17:51:57 -05:00
SergeantPanda
5dac5858f2 Refactor updated_at handling in stream processing to only update for changed streams for both xc accounts and m3u acounts. 2025-05-04 14:30:27 -05:00
SergeantPanda
a329ae0c87 Fixes not setting updated_at if only custom properties changed. 2025-05-04 14:22:02 -05:00
SergeantPanda
d8f0700ff6 Fix last_seen not being wrote to properly. 2025-05-04 13:59:06 -05:00
SergeantPanda
d26dd5f6b3 Add better display in the m3u table for the user to see what we are doing. 2025-05-04 13:26:29 -05:00
dekzter
693d33e18d merged in xtream branch 2025-05-03 13:52:42 -04:00
SergeantPanda
2fff015206 Enhance refresh_single_m3u_account to track completed tasks and ensure DB transactions are committed before cleanup 2025-05-02 17:33:51 -05:00
dekzter
3de768d954 fixed conflicting migratino 2025-05-02 15:38:26 -04:00
dekzter
06879ed8ef merged in dev 2025-05-02 09:33:09 -04:00
dekzter
5bf5e1e1c2 updated last_seen of existing streams: 2025-05-01 17:30:19 -04:00
SergeantPanda
d26944a7a5 Add stale_stream_days field to M3UAccount model and update related logic
- Introduced stale_stream_days field to M3UAccount to specify the retention period for streams.
- Updated cleanup_streams task to remove streams not seen within the specified stale_stream_days.
- Enhanced M3U form to include stale_stream_days input for user configuration.
2025-05-01 16:01:08 -05:00
SergeantPanda
78fc7d9f2b Use proper user agents when downloading epgs. And a little more robust user agent selection for m3u downloads. 2025-05-01 12:42:48 -05:00