mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-16 02:42:34 +03:00
Reading the play queue no longer writes the filtered queue back in the background. That save treated tracks hidden by library access like purged ones, so a user who lost a library for a while lost those tracks from the queue for good. It could also race with partial PUT /api/queue updates and leave the index out of range or on the wrong track. GET now only remaps current and position in its response. PUT /api/queue reads the same filtered queue: a current-only update is checked against it and stored as the index of the same track in the stored queue, and an ids-only update keeps the current track and position the client saw.