Skip to content

Player subtitle delay writes item-local state but HUD and canonical setting stay at 0 #137

Closed

Description

@Quick104

Summary

Changing subtitle delay during playback does not affect the displayed/applied delay on either Android phone or Android TV.

Reproduction

  1. Start playback with subtitles available.
  2. On phone, set subtitle delay to -50 ms. On TV, set it to -1900 ms.
  3. Return to the player HUD and inspect the delay.
  4. Restart the app and inspect both the HUD and canonical server setting.

Observed

  • The HUD remains at 0 ms.
  • No player.subtitle_sync_ms profile-device row is written.
  • Item-local DataStore retains movie-tmdb-463015=<offset>.
  • The mismatch survives process death.

The code has the same split: the HUD observes subtitleSyncMsFlow, while its setter calls setSubtitleSyncMsFor(contentId, value), which writes the per-item map.

Expected

The value source observed by the HUD and the setter must agree, and the selected delay must be applied to active playback. If subtitle delay is intended to be the canonical profile-device setting, write player.subtitle_sync_ms. If item-local overrides are intentional, the HUD should observe the item-specific flow and the local-only behavior should be explicit.

Tested build

PR #119 at 34767aa2a1ee416a7758b4c38277a591b5785c04; reproduced on phone and TV emulators against settings contract revision 1.

Activity

  1. added
    bug
    on Jul 30, 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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions