Skip to content

Offline playback loses a watched finish when a later seek-back sample replaces it #1039

Open

Description

@Quick104

What happens

A downloaded movie or episode played offline can pass the point where it counts as watched, then lose that once the device reconnects. Samples from one offline playback run collapse to the latest before they're sent. If the viewer passes "Mark watched at" (or, with #1038, reaches the end credits), seeks back, and stops earlier in the file, only the earlier position reaches the server, and the title stays unwatched and in Continue Watching.

Streaming doesn't behave this way: the server latches completion once a progress report crosses the threshold, so seeking back afterwards keeps the title watched.

Where

RoomUserItemStateRepository.recordPositionOwned (android-shared) queues SET_POSITION with a coalesce key per content item and playback run, so a later sample in the run replaces the one that finished the title. This happens on main today with the percentage rule.

What to do

Keep a completion reached during an offline run when later samples in the same run replace the position. For example, queue it as its own write that later samples don't replace, or carry a "finished" mark forward in the run's coalesced sample. The local resume point should still follow the viewer's last position.

Apple has the same gap in its offline queue (Silo-Server/silo-apple#1256 lists it as a follow-up).

Source: found in review of #1038. It changes the same lines, so the fix follows that PR's merge.

AI Disclosure

  • Harness: Claude Code in T3 Code
  • Tool(s): Claude Code
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated; not yet verified by a person

Activity

  1. added
    bug
    on Nov 23, 2026
  2. added
    priority: P2
    on Nov 23, 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

    bugpriority: P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions