feat: add a live queue panel - #2
Open
IM0001GT wants to merge 2 commits into
Open
Conversation
cliamp's status only reports a count, and MPRIS HasTrackList is false, so the panel used to say "N in queue" and stop there. The socket already answers queue.list, queue.play, queue.remove and queue.clear, so the panel can show the rows, jump to one, drop one, save the list as a local playlist, load a saved one, and append a path without replacing what is playing.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The live playlist is the new thing, so it gets a shot next to the note that explains it, the same way output already has one.
IM0001GT
marked this pull request as ready for review
August 29, 2026 17:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cliamp's status only reports a count, and MPRIS
HasTrackListis false, so the panel used to say "N in queue" and stop there. Measured on 1.63.2, the socket already answersqueue.list,queue.play,queue.removeandqueue.clear, so the panel can show the rows, jump to one, drop one, and empty the list without opening a terminal.Saving writes a local TOML playlist from that list (the same format
playlist createrejects stream URLs for, which is why the library already writes files itself). Loading a saved name usesloadas before. Adding a path usesurl.load, which appends rather than replacing. The+on a library row appends that album, song or saved playlist the same way.deno run --allow-read tests/model.test.jscovers the queue parser, including the omitempty index-0 case on the wire.