Skip to content

Downloads: offline watch-progress queue with server reconciliation #21

Closed

Description

@Quick104

Summary

Offline playback on Android bypasses playback sessions, and watch progress made offline appears to be lost. Add an offline progress queue that records progress locally during offline playback and reconciles with the server on reconnect.

Apple reference implementation

  • silo-apple/iosApp/iosApp/Downloads/DownloadManager.swift (~L1350-1441) — progress queued while offline, flushed on reconnect via the progress API with reconciliation (server value wins when newer)

Scope

  • Persist progress updates from OfflineMediaResolver-driven playback into local storage (Room), keyed by profile + content
  • On connectivity/app-foreground/server-reachable, flush the queue to the standard progress endpoint; handle conflicts (newest-wins or server-authoritative, matching Apple behavior)
  • Continue Watching rows and the detail resume state should reflect queued offline progress even before sync

Relevant Android code: android-shared playback progress reporting path, offline playback (OfflineMediaResolver), Room metadata store.

Acceptance criteria

  • Watch half a downloaded episode in airplane mode → reconnect → server progress and other devices show the position
  • Resume point is correct locally while still offline
  • Unit tests for queue + reconciliation; phone build passes

Part of the July 2026 Android↔Apple parity audit.

Activity

  1. added
    enhancement
    parity-audit
    on Jul 3, 2026
  2. added
    bug
    triaged
    and removed
    triaged
    on Sep 20, 2026
  3. added theissue type on Sep 20, 2026
  4. removed
    bug
    on Sep 20, 2026
  5. added a commit that references this issue on Nov 15, 2026
    4fc63d0
  6. added a commit that references this issue on Nov 16, 2026
    a404577
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

    enhancementparity-audit

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions