Commit graph

373 commits

Author SHA1 Message Date
SergeantPanda
f762e1b923 Capture and display transcode strd err. 2025-05-09 13:44:49 -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
e88e3928dd If EPG source is not found when task is run, delete the task so it doesn't keep happening. 2025-05-08 20:17:22 -05:00
SergeantPanda
c3cad47e4c Properly disable celery task when epg is disabled. 2025-05-08 20:02:03 -05:00
SergeantPanda
58773c015c Modify logging levels of uwsgi and fix epg tasks not being deleted when epg is deleted. 2025-05-08 19:47:05 -05:00
dekzter
4ebfde2797 auto-assign numbers now configurable by selection, channel enable switch now applies to all selected 2025-05-08 12:43:27 -04: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
SergeantPanda
898224dc72 Fix potential issue during stream switches. 2025-05-05 17:02:28 -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
SergeantPanda
f3abbaeb27 Add gracenote ID when creating channel if available. Fixes m3u output if gracenote ID doesn't exist. 2025-05-04 09:23:02 -05:00
SergeantPanda
2243e2470b
Merge pull request #84 from rykr/GraceNoteId
Add support for Channels DVR tvc-guide-stationid
2025-05-04 08:06:06 -05:00
Reggie Burnett
fcd1722d3a Add support for Channels DVR tvc-guide-stationid 2025-05-03 19:24:51 -05:00
SergeantPanda
4595cea400 Status update overhaul for epg files. 2025-05-03 18:39:59 -05:00
SergeantPanda
9f52b22432 Show all HTTP errors to the user during epg update. 2025-05-03 16:26:30 -05:00
dekzter
693d33e18d merged in xtream branch 2025-05-03 13:52:42 -04:00
SergeantPanda
104bad8f04 Added last seen as an api output for streams. 2025-05-03 12:38:45 -05:00
dekzter
1a0d065eca ui settings with configurable table size, added setting to set / rehash stream hashes 2025-05-03 08:01:22 -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
SergeantPanda
307728b7bc Improve file existence checks and error handling in parse_channels_only and parse_programs_for_source 2025-05-02 11:59:38 -05:00
SergeantPanda
98ef0d49f7 Add file existence checks and error handling in parse_channels_only 2025-05-02 11:23:36 -05: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
dekzter
a2055827ce Merge remote-tracking branch 'origin/dev' into xtream 2025-05-01 13:02:28 -04:00
SergeantPanda
b3c4ff8f2d Finding more timers that can be converted to gevents. 2025-05-01 10:43:07 -05:00
dekzter
091d9a6823 immediately prompt for group filtering when using an XC account 2025-05-01 11:22:38 -04:00
dekzter
c5dd351bf1 Merge remote-tracking branch 'origin/dev' into xtream 2025-05-01 10:15:42 -04:00
SergeantPanda
b811a3d45b More sleep events. 2025-05-01 09:05:51 -05:00
SergeantPanda
a50a7372c1 Removed unnecessary elif for invalid flag. 2025-04-30 18:22:27 -05:00
SergeantPanda
5475177cf4
Merge pull request #77 from www2000/dev-m3u-fix
Fix channel issues that i have with m3u files comming form tvheaden.
2025-04-30 18:19:26 -05:00
SergeantPanda
6adda8209f Ensure cache directory exists before saving EPG data 2025-04-30 17:54:48 -05:00
SergeantPanda
e8355a78c6 Fetch channels when auto-match is complete. 2025-04-30 16:51:48 -05:00
SergeantPanda
4f0c8333c6 Add return statement in get_cache_file method of EPGSource model 2025-04-30 14:42:32 -05:00
dekzter
3ea8c05466 Merge remote-tracking branch 'origin/dev' into xtream 2025-04-30 15:10:59 -04:00
SergeantPanda
80fe7e02f8 Added missing _attempt_health_recovery. 2025-04-30 13:43:01 -05:00
SergeantPanda
423020861c Replace time.sleep with gevent.sleep for improved concurrency 2025-04-30 13:32:16 -05:00