Edit Queue
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
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.
Is there an API call to clear queue?
@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.
That's such a weird decision from Spotify, since their client allows all sorts of queue editing.
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.