feat(iptv): add Watch Live and Stream Now guide actions - #604
Merged
ProdigyV21 merged 7 commits intoAug 25, 2026
Conversation
Separate channel-row and programme-cell actions, keep main and fullscreen guides on one clock, play catch-up only when available, and leave unavailable past/future programmes as no-ops.
Keep live, catch-up, and future guide actions explicit while resolving second selections on the playing live programme to a conservative TMDB match. Show Watch Live and Stream Now only for confident movie or series matches, fail closed for ambiguous or non-VOD channels, guard stale lookups, and expose a device-local setting.
Revalidate the selected programme against the latest live guide slot before publishing Watch Live or Stream Now actions. Suppress results after a programme ends, rolls over, or disappears from the current guide state.
Resolve current programme metadata through normalized EPG and channel identities when duplicate channels live on different playlists, while preserving direct-channel precedence and stale-result guards.
Build guide identity aliases from the full enriched channel set rather than the currently visible provider filter, so duplicate channels on hidden playlists can supply current programme metadata.
Use displayedCurrentProgram() to source the current programme directly from effectiveGuideNowNext — the same data the EPG grid is already showing — instead of the identity-key aliasing that failed across playlists. Add resolveVodWithEagerFetch() for second-click on channels without prefetched EPG data: triggers an immediate network fetch, then proceeds to VOD resolution.
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.
Summary
Matching and fallback safety
Spiderman/Spider-Manare accepted, but sequels and prefix matches are not.Testing
git diff --check.Scope
Android Live TV guide actions and the device-local IPTV setting only. No playlist/category grouping, responsive-layout, backend, or app-version changes.