Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to Queue command #304

Closed
mikeboiko opened this issue Feb 20, 2020 · 11 comments
Closed

Add to Queue command #304

mikeboiko opened this issue Feb 20, 2020 · 11 comments

Comments

@mikeboiko
Copy link

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!

@skrewby
Copy link
Contributor

skrewby commented 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.

@mikeboiko
Copy link
Author

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

@Rigellute
Copy link
Owner

I'd love this feature too

@Bios-Marcel
Copy link
Contributor

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.

@WMcKibbin
Copy link

WMcKibbin commented 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.

@Rigellute
Copy link
Owner

Rigellute commented 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!

@myst10py
Copy link

Any updates on the queuing feature?

@Rigellute
Copy link
Owner

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 👍

@tonitch
Copy link

tonitch commented 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?

@Rigellute
Copy link
Owner

Thanks to @BeneCollyridam this is now possible!

@mikeboiko
Copy link
Author

Awesome, good work everybody!

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

No branches or pull requests

7 participants