Skip to content

Add a flag for a queue that finished playing - #339

Merged
marcelveldt merged 1 commit into
mainfrom
marcelveldt/player-queue-ended
Jul 30, 2026
Merged

marcelveldt merged 1 commit into
mainfrom
marcelveldt/player-queue-ended

Conversation

@marcelveldt

Copy link
Copy Markdown
Member

When a queue plays all the way to its end, it keeps its items and leaves its position on the last track — which looks exactly like a queue that is paused on that track. Clients had no way to tell the two apart, so a finished queue could not say it finished, or offer to start over.

  • Add ended to PlayerQueue, set by the server when a queue plays through and cleared again as soon as playback starts or the items change

A queue that played all the way to its end keeps its items and its playback
position on the last item, which on the wire is indistinguishable from a queue
that is merely stopped on that item. The new flag carries that one bit so
clients can say the queue finished, and offer to start it over, instead of
showing it as paused on its last track.
@marcelveldt marcelveldt added the enhancement Enhancement of an existing feature/functionality label Jul 30, 2026
@marcelveldt
marcelveldt marked this pull request as ready for review July 30, 2026 08:23
@marcelveldt
marcelveldt merged commit ac4d3e4 into main Jul 30, 2026
3 checks passed
@marcelveldt
marcelveldt deleted the marcelveldt/player-queue-ended branch July 30, 2026 08:24
github-actions Bot pushed a commit to music-assistant/server that referenced this pull request Jul 30, 2026
Update music-assistant-models to version
[1.1.176](https://github.com/music-assistant/models/releases/tag/1.1.176)


## 🚀 Features and enhancements

- Add a flag for a queue that finished playing (by @marcelveldt in
[#339](music-assistant/models#339))
- Add DSP_IRS_UPDATED enum for DSP updates (by @OzGav in
[#336](music-assistant/models#336))


## 🙇 Contributors

@marcelveldt and @OzGav

Co-authored-by: musicassistant-bot[bot] <304008617+musicassistant-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancement of an existing feature/functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant