Skip to content

fix(tv): the episode carousel keeps a finished season finale unwatched after returning from the player #956

Open

Description

@Quick104

On Android TV, after you finish a season's last episode and the series page moves on to the next season's first episode, the finished episode stays unwatched in the episode carousel. Focusing it brings back that stale state. The server already has the episode and its season as watched.

Source: found in review of #954. This follows that PR and waits for it to merge, because the fix needs the read after the player's stop that #954 adds.

Steps (Android TV):

  1. Open a series and play the last episode of a season to its credits.
  2. Back out of the player. The page selects the next season's first episode.
  3. Move left in the carousel to the episode you just finished.

Expected: it shows as watched. Actual: it keeps its pre-playback state until the page is opened again.

Cause (main, TvItemDetailViewModel.kt): the carousel keeps other seasons' pages in episodeWindow. loadCarouselNeighbor returns early when a season's page is already there, and the refresh on return re-reads only the selected season. Nothing re-reads the played episode's season once the selection has moved on. This doesn't depend on when the stop lands: an instant stop shows the same thing.

Suggested fix: after the stop lands, also re-read the played episode's season when it differs from the selected one, and replace its carousel page without changing the selected season.

Evidence so far: an adversarial review of #954 reproduced it with the existing TvNextUpSelectionHandoffTest ViewModel fixture. The server returned the episode and season as watched, but the carousel row stayed unwatched and its season got no further read. Not reproduced on a device.

AI disclosure: drafted by Claude Code in T3 Code (claude-opus-5-5), from a review finding by gpt-6.1-sol, at the project owner's request.

Activity

  1. added
    bug
    impact: polish
    priority: P2
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugimpact: polishpriority: P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions