Skip to content

fix: remove live streams and live stream addon items from continue watching - #492

Merged
ProdigyV21 merged 3 commits into
ProdigyV21:mainfrom
Himanth-reddy:feature/remove-live-streams-from-continue-watching
Jul 28, 2026
Merged

fix: remove live streams and live stream addon items from continue watching#492
ProdigyV21 merged 3 commits into
ProdigyV21:mainfrom
Himanth-reddy:feature/remove-live-streams-from-continue-watching

Conversation

@Himanth-reddy

Copy link
Copy Markdown
Collaborator

Summary

Live stream items, IPTV channels, sports live events, and items originating from live stream addons do not represent TMDB movies or TV series episodes. As a result, when these items are added to the Continue Watching section, selecting them fails to show details.

This PR ensures that live streams and live stream addon items are neither saved into Continue Watching nor displayed in the Continue Watching section across both Android and Web apps.

Key Changes

  • SportsAddonCapabilities.kt & cloud.ts: Added detection helpers (isLiveStreamOrSportsItem) to identify live stream addon streams, live TV channels, sports live events, IPTV streams, and non-movie/non-series synthetic IDs.
  • PlayerViewModel.kt & cloud.ts: Prevented saving progress to watch history and local/cloud Continue Watching during playback when a stream originates from a live stream addon or represents a live stream.
  • TraktRepository.kt & WatchHistoryRepository.kt & HomeViewModel.kt & LauncherContinueWatchingRepository.kt & store.tsx: Excluded live stream and live stream addon items when saving, reading, or rendering the Continue Watching rail on the Home Screen, Web app, and Android TV Launcher channels.

chatgpt-codex-connector[bot]

This comment was marked as spam.

@ProdigyV21
ProdigyV21 merged commit ba7ce5d into ProdigyV21:main Jul 28, 2026
4 checks passed
@Himanth-reddy Himanth-reddy added gssoc-approved level:intermediate Intermediate level task quality:clean Clean code implementation type:bug Bug fix type:design UI/UX design enhancements gssoc:approved GSSoC approved contribution and removed gssoc:approved labels Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved GSSoC approved contribution level:intermediate Intermediate level task quality:clean Clean code implementation type:bug Bug fix type:design UI/UX design enhancements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants