spotify-player icon indicating copy to clipboard operation
spotify-player copied to clipboard

Edit Queue

Open cdslayallday opened this issue 11 months ago • 5 comments

Would be chill if i could remove songs from the queue list, or reorder.

Couldn't find this in the feature list, if it exists please lmk and tell me to shutup

cdslayallday avatar Jan 27 '25 04:01 cdslayallday

For future reference or anyone interested in working on this, queue editing will require to implement a custom queueing system because spotify doesn't provide APIs to edit or re-order queue but only get-queue and add-item-to-queue.

aome510 avatar Feb 04 '25 02:02 aome510

Is there an API call to clear queue?

User-3090 avatar May 16 '25 19:05 User-3090

@User-3090 at the time of writing no. https://developer.spotify.com/documentation/web-api/reference/add-to-queue

Like @aome510 said, we'd probably have to maintain a queue ourselves in the application rather than relying on the Spotify queue since the API functionality is limited.

alexjyong avatar Jul 10 '25 03:07 alexjyong

That's such a weird decision from Spotify, since their client allows all sorts of queue editing.

wiraki avatar Oct 02 '25 15:10 wiraki

I wonder if it is possible to use something like librespots set_queue / SetQueue handles. Ofc those are the internal ones but they are used to handle set queue which is used by the mobile app. (Described here) So it is definitely possible. But ig we have to manually manage an internal queue (or use librespots) and then somehow send the updated queue to spotify.

I'll try working on it if i find some time soon.

klassenserver7b avatar Oct 03 '25 00:10 klassenserver7b