Skip to content

Fix playback not resuming after seek/skip operations#5462

Open
tvinhas wants to merge 2 commits intojellyfin:masterfrom
zivvotv:fix/seek-resume-after-skip
Open

Fix playback not resuming after seek/skip operations#5462
tvinhas wants to merge 2 commits intojellyfin:masterfrom
zivvotv:fix/seek-resume-after-skip

Conversation

@tvinhas
Copy link

@tvinhas tvinhas commented Mar 7, 2026

Changes
DPAD_RIGHT/LEFT now directly trigger skip forward/back instead of only
showing the transport overlay, which previously required the leanback
seekbar's pause-preview-confirm flow to complete a seek.

Additional seek state management fixes:

  • Guard progress loop during seek to prevent onIsPlayingChanged(false) from killing it during ExoPlayer buffering
  • Add onSeekComplete callback to detect seek completion via both STATE_READY and onIsPlayingChanged(true)
  • Remove blocking wasSeeking guard that prevented subsequent seeks
  • Reset mSeekPosition in onSeekComplete to avoid stale position reads
  • Add 8-second seek timeout safety net

tvinhas and others added 2 commits March 7, 2026 10:55
  DPAD_RIGHT/LEFT now directly trigger skip forward/back instead of only
  showing the transport overlay, which previously required the leanback
  seekbar's pause-preview-confirm flow to complete a seek.

  Additional seek state management fixes:
  - Guard progress loop during seek to prevent onIsPlayingChanged(false)
    from killing it during ExoPlayer buffering
  - Add onSeekComplete callback to detect seek completion via both
    STATE_READY and onIsPlayingChanged(true)
  - Remove blocking wasSeeking guard that prevented subsequent seeks
  - Reset mSeekPosition in onSeekComplete to avoid stale position reads
  - Add 8-second seek timeout safety net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant