Skip to content

feat: add a live queue panel - #2

Open
IM0001GT wants to merge 2 commits into
thisisgm:mainfrom
IM0001GT:feat/queue-panel
Open

feat: add a live queue panel#2
IM0001GT wants to merge 2 commits into
thisisgm:mainfrom
IM0001GT:feat/queue-panel

Conversation

@IM0001GT

@IM0001GT IM0001GT commented Aug 29, 2026

Copy link
Copy Markdown

cliamp's status only reports a count, and MPRIS HasTrackList is false, so the panel used to say "N in queue" and stop there. Measured on 1.63.2, 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, and empty the list without opening a terminal.

Saving writes a local TOML playlist from that list (the same format playlist create rejects stream URLs for, which is why the library already writes files itself). Loading a saved name uses load as before. Adding a path uses url.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.js covers the queue parser, including the omitempty index-0 case on the wire.

The queue open on the radio stations, with the one playing marked NOW

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.
@coderabbitai

coderabbitai Bot commented Aug 29, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 17e99541-3fdb-48e5-9375-8aa8a8f96117


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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
IM0001GT marked this pull request as ready for review August 29, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant