mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-11 11:06:16 -08:00
`epgArchiveDays` used `tvg.rec ?? timeshift ?? catchup.days`, but `??` does not skip an empty string — the common `tvg-rec=""` default stopped the chain and yielded 0, which the timeline treats as an unbounded catch-up window, so a channel with a real `timeshift`/`catchup-days` could offer "Watch" on programmes older than its actual archive. Use the shared `getM3uArchiveDays` (non-blank + correct precedence), matching the unified live tab. (Codex P2) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>