Repeat-one loops partial transcoded stream instead of full track

App version

Production

Issue description

Follow-up of t/10417. Symfonium 15.1.0 (latest), Navidrome 0.64.0, server transcoding FLAC → Opus 320.

  • On resume, Symfonium requested the stream with offset=340 (track is 439 s). From then on it treats that partial stream as the whole track: the UI shows 1:39 and seeking doesn’t work.
  • With repeat-one it loops only that tail (22 cycles, no new stream request) and never returns to 0:00.
  • This morning the offset was at the very end: it looped the last ~100 ms for 20 min and scrobbled every loop (~1,350 scrobbles to Last.fm).
  • Separately: 32,751 getTranscodeDecision calls for the same track in 39 min (up to 28/s).

Playback rapidly loops, it does not continue normally. Last.fm scrobbling is done by Navidrome (Symfonium → Navidrome → Last.fm), no other scrobbler app.

Device type

Phone

Media provider

Navidrome

Steps to reproduce

Steps to reproduce

  1. Navidrome provider with server transcoding to Opus (any long track).
  2. Play the track and seek to ~5:40, or close the app so the queue is restored at a late position.
  3. Resume playback: the app requests offset=X and shows duration = track length - X.
  4. Enable repeat-one and let it reach the end: it loops the tail (from X) instead of the full track. If X is very close to the end, it loops the last few ms and every loop is scrobbled.
  5. Watch the server log: getTranscodeDecision is called ~10-28 times per second for as long as playback continues.

Additional information

Device: Sony Xperia 1 (XQ-FE54), Android 16, local playback (no casting).
Occurrence time: 2026-10-17, repro 16:53 → 17:32 CEST (14:53 → 15:32 UTC)

Server excerpt (UTC):
14:53:23 reportPlayback positionMs=340000 state=paused
14:53:23 [server] Streaming TRANSCODED requestOffset=340 cached=false seekable=false opus/320
14:53:23 reportPlayback positionMs=680000 state=playing ← 2x offset, beyond track length
14:53:26 getTranscodeStream offset=340 → 200, 3,949,911 bytes
14:53:34 getTranscodeStream offset=340 → 200 (cached, seekable)
14:54:06 getTranscodeStream offset=340 → 206, 803,014 bytes ← last stream request
14:55:55 onwards: reportPlayback 30 s / 60 s / 90 s → 0 every ~98 s, 22 cycles until 15:32, no further stream requests

I searched existing issues first

on

I understand that logs are mandatory

on

Log upload name / description

dugi - repeat one logs


Thanks Tolriq!