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
SergeantPanda
b7c543b5f5
Use gevent sleep instead of sleep.
2025-04-30 12:48:50 -05:00
SergeantPanda
bdb8d326a5
Add better logging for which channel clients are getting chunks from.
2025-04-30 12:17:11 -05:00
Jean-Paul Acneaux
d61de87fff
Fix channel issues that i have with m3u files comming form tvheaden.
...
And add tvg-chno tag for finding channel numbers.
2025-04-30 05:10:31 +02:00
SergeantPanda
418bf01449
Notify user of how many matches auto-match found.
...
Add batch EPG association endpoint and improve EPG matching logic
- Implemented a new API endpoint to associate multiple channels with EPG data in a single request.
- Enhanced the EPG matching process to normalize TVG IDs and log relevant information.
- Updated frontend to handle batch EPG associations efficiently, falling back to legacy methods when necessary.
2025-04-29 18:13:42 -05:00
SergeantPanda
2f23909bed
Fixed bug overwriting tvg-id when loading TV Guide.
2025-04-29 15:13:15 -05:00
SergeantPanda
d27e4b7e8a
Release stream lock before returning url if using redirect profile.
2025-04-29 14:14:40 -05:00
SergeantPanda
ee2c2194f8
Mimetype guessing as a fallback for remote images.
2025-04-28 20:36:09 -05:00
SergeantPanda
4cf4a0d68d
Reverted unintended change.
2025-04-28 20:26:54 -05:00
SergeantPanda
06d3066783
Improve logo handling in LogoViewSet: set default content type and add Content-Disposition for inline display.
2025-04-28 20:22:44 -05:00
SergeantPanda
482803b241
Removed unnecessary logs.
2025-04-28 17:29:27 -05:00
SergeantPanda
cd1da5a61c
Added a new channel model to update m3u profile counts and utilize it during stream switches.
2025-04-28 17:25:03 -05:00
SergeantPanda
b439eb810c
Cleanup channel lock instead of stream lock.
2025-04-28 15:05:58 -05:00
SergeantPanda
d59c8a9e33
Properly track current stream id during stream switches.
2025-04-27 15:52:10 -05:00
SergeantPanda
88f27d62f1
Adds current m3u profile to stats.
2025-04-27 14:43:09 -05:00
dekzter
1ccf24fe5f
Fixed caching path for non-xc only
2025-04-27 11:08:12 -04:00