mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-22 17:48:09 +00:00
- http_streamer.py: restore HTTPStreamReader to its upstream form and keep only the find_ts_sync() addition. The response=/extra_headers=/ strip_ts_preamble= extensions had no remaining callers since the timeshift view moved to direct iter_content streaming (delta shrinks from +235/-83 lines to +28). - Unify the catchup_days semantics everywhere: a channel's archive depth is MAX(catchup_days) over its CATCH-UP streams only. The SQL rollup now uses a FILTER (WHERE s.is_catchup) aggregate and the ChannelStream signal uses the same MAX aggregation (it previously took the first stream by order, and the rollup aggregated over all streams including non-catchup ones). - Migration backfill: also accept the lowercase 'true' that ->> extraction yields for JSON booleans. - get_channel_catchup_info(): drop the tv_archive_duration key — its only caller never used it. - Document why timeshift termination fails closed when Redis is unavailable (denying the new stream is what protects the provider connection limit), and update the stale stop-key comment (5 s cadence, not 100 chunks). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| buffer.py | ||
| http_streamer.py | ||
| manager.py | ||