Repository navigation
EPG: re-sync the guide when a match links a catch-up channel - #380
Closed
Sekator778 wants to merge 1 commit into
Closed
Sekator778 wants to merge 1 commit into
Sekator778 wants to merge 1 commit into
Conversation
On a playlist with empty tvg-id the first guide sync runs before any channel has a guide id. Core's retention then sees no catch-up guide ids and keeps only the recent past (6 h), so after Auto-match the catch-up channels show no past days although the feed carries them. Settings' Re-sync brought them back (measured: 210k to 320k programmes). A match that gives a catch-up channel a guide id that was not retained before (Auto-match, Accept, Accept all, a manual match) now schedules one re-sync of the EPG sources and the playlist's own guides, through the same EpgSyncScheduler entry Settings uses. Calls within 4 s share one run; one that arrives during a run gets one more run after it. While a re-sync is queued, the cache fill's network fallback is skipped so feeds are not downloaded twice. A match that links no new catch-up guide triggers nothing. Verified: :app:compileStandardReleaseKotlin and the i18n checks. The defect and the Re-sync workaround were seen on a Philips Android 11 TV with an M3U playlist of 877 catch-up channels. Not tested on a device: this change itself (the TV setup was not reset).
ahXN00
added a commit
that referenced
this pull request
Nov 21, 2026
…, Flussonic and guide matches - The Add/Edit playlist form shows "Prefer HLS for catch-up" for M3U as well as Xtream, and the M3U add (Settings and the setup wizard) and edit paths pass it to core. On M3U it changes only Flussonic catch-up: a finished programme opens as a seekable HLS playlist with its full length. - User Guide: the switch is no longer "Xtream only". - CHANGELOG: the Archive page (community PR #379), Flussonic catch-up (community PR #93) and guide matches filling their past days (reported in PR #380). Verified: assembleDebug against core.
Owner
|
@Sekator778 i already did it beause of someone's report, so closing it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With empty tvg-id the first sync keeps only 6 h of past, since no catch-up channel has a guide id yet; after Auto-match the archive stays empty until a manual Re-sync. A match that links a catch-up channel to a new guide id now schedules one re-sync, as Settings does.
Defect seen on a Philips Android 11 TV; the fix is untested on devices.
PR checklist