[GH-ISSUE #304] Add to Queue command #121

Closed
opened 2026-02-28 14:47:10 +03:00 by kerem · 11 comments
Owner

Originally created by @mikeboiko on GitHub (Feb 20, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/304

Would it be possible to add a command for "Add to Queue"?
I use this feature all the time on my Android phone.
I love spotify-tui, thanks for allowing me to live in my terminal even more!

Originally created by @mikeboiko on GitHub (Feb 20, 2020). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/304 Would it be possible to add a command for "Add to Queue"? I use this feature all the time on my Android phone. I love spotify-tui, thanks for allowing me to live in my terminal even more!
kerem closed this issue 2026-02-28 14:47:11 +03:00
Author
Owner

@skrewby commented on GitHub (Feb 21, 2020):

I'm pretty interested in this feature as well but rspotify doesn't seem to have any options to add a song to a queue. I can't seem to find anything on the Spotify Web API Reference either.

<!-- gh-comment-id:589788414 --> @skrewby commented on GitHub (Feb 21, 2020): I'm pretty interested in this feature as well but [rspotify](https://docs.rs/rspotify/0.8.0/rspotify/spotify/client/struct.Spotify.html) doesn't seem to have any options to add a song to a queue. I can't seem to find anything on the Spotify Web API Reference either.
Author
Owner

@mikeboiko commented on GitHub (Feb 21, 2020):

Yea you're right, everyone is still waiting on Spotify to add the API endpoint:
https://github.com/spotify/web-api/issues/462

<!-- gh-comment-id:589824785 --> @mikeboiko commented on GitHub (Feb 21, 2020): Yea you're right, everyone is still waiting on Spotify to add the API endpoint: https://github.com/spotify/web-api/issues/462
Author
Owner

@Rigellute commented on GitHub (Feb 24, 2020):

I'd love this feature too

<!-- gh-comment-id:590232016 --> @Rigellute commented on GitHub (Feb 24, 2020): I'd love this feature too
Author
Owner

@Bios-Marcel commented on GitHub (Feb 25, 2020):

Doesn't look like spotify gives a damn about this. Alternatively a local queue could be added.

Something like "OnSongEnd: if queue.size > 0; play(queue.pop)". The queue could be completly unrelated to playing playlists, albums or radios, just the like the official queue. I think this would be a great compromise.

<!-- gh-comment-id:590773803 --> @Bios-Marcel commented on GitHub (Feb 25, 2020): Doesn't look like spotify gives a damn about this. Alternatively a local queue could be added. Something like "OnSongEnd: if queue.size > 0; play(queue.pop)". The queue could be completly unrelated to playing playlists, albums or radios, just the like the official queue. I think this would be a great compromise.
Author
Owner

@WMcKibbin commented on GitHub (Mar 4, 2020):

https://developer.spotify.com/console/post-queue/
https://developer.spotify.com/documentation/web-api/reference/player/add-to-queue/

This endpoint isn't working for me either. Probably not ready yet then. Really irks me because its easily one of the most used UI actions. @Bios-Marcel that seems like a good solution.

EDIT:
I lied it is indeed working. It just never returned a response to the web client they have there. I'm sitting here jamming to:
spotify:track:4nC3lnqFUrkwuImM8WTrap

And I thought to myself, dang this song is a lot longer than I remembered... Queued up like 10 times from me mashing the API call. Well At least they have the functionality there albeit not quite ready.

<!-- gh-comment-id:594738291 --> @WMcKibbin commented on GitHub (Mar 4, 2020): https://developer.spotify.com/console/post-queue/ https://developer.spotify.com/documentation/web-api/reference/player/add-to-queue/ This endpoint isn't working for me either. Probably not ready yet then. Really irks me because its easily one of the most used UI actions. @Bios-Marcel that seems like a good solution. EDIT: I lied it is indeed working. It just never returned a response to the web client they have there. I'm sitting here jamming to: spotify:track:4nC3lnqFUrkwuImM8WTrap And I thought to myself, dang this song is a lot longer than I remembered... Queued up like 10 times from me mashing the API call. Well At least they have the functionality there albeit not quite ready.
Author
Owner

@Rigellute commented on GitHub (Mar 7, 2020):

Thanks @WMcKibbin! Looks like this is a new endpoint not yet covered by rspotify, I will look into adding it there so we can start supporting queues!

<!-- gh-comment-id:596076690 --> @Rigellute commented on GitHub (Mar 7, 2020): Thanks @WMcKibbin! Looks like this is a new endpoint not yet covered by `rspotify`, I will look into adding it there so we can start supporting queues!
Author
Owner

@myst10py commented on GitHub (Apr 10, 2020):

Any updates on the queuing feature?

<!-- gh-comment-id:612258608 --> @myst10py commented on GitHub (Apr 10, 2020): Any updates on the queuing feature?
Author
Owner

@Rigellute commented on GitHub (Apr 13, 2020):

Looks like rspotify has added this endpoint as of yesterday 🎉 https://github.com/ramsayleung/rspotify/commits/master

Once rspotify has released we can start working on it 👍

<!-- gh-comment-id:612836702 --> @Rigellute commented on GitHub (Apr 13, 2020): Looks like `rspotify` has added this endpoint as of yesterday 🎉 https://github.com/ramsayleung/rspotify/commits/master Once `rspotify` has released we can start working on it 👍
Author
Owner

@tonitch commented on GitHub (Jul 27, 2020):

it seems implemented in rspotify now. I really wanted to try implementing it but...
I neved did rust before :'(
any update for this tho?

<!-- gh-comment-id:664424471 --> @tonitch commented on GitHub (Jul 27, 2020): it seems implemented in rspotify now. I really wanted to try implementing it but... I neved did rust before :'( any update for this tho?
Author
Owner

@Rigellute commented on GitHub (Sep 30, 2020):

Thanks to @BeneCollyridam this is now possible!

<!-- gh-comment-id:701527549 --> @Rigellute commented on GitHub (Sep 30, 2020): Thanks to @BeneCollyridam this is now possible!
Author
Owner

@mikeboiko commented on GitHub (Sep 30, 2020):

Awesome, good work everybody!

<!-- gh-comment-id:701543465 --> @mikeboiko commented on GitHub (Sep 30, 2020): Awesome, good work everybody!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#121
No description provided.