Skip to content

Reordering track before currently playing track skips to next track without pausing the current track

Steps to reproduce

  1. Enqueue 4 tracks
  2. Play 2nd track for a bit
  3. Move 4th track before 2nd track

What happens?

Next track is starting to play. When trying to play the original track, it 'remembers' its position.

The original track is still playing in background, it isn't paused by the logic. When a new track is being played, it disconnects the original track from the audio output node, so it is silent.

What is expected?

Tracks reorder correctly

Context

Funkwhale version(s) affected: develop

2023-01-24_11-00-40 The stack trace in the video is from another issue I've just reported.

Edited by Kasper Seweryn