Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add song to Spotify Queue through Spotify API

Tags:

api

spotify

With the new endpoint /player of the Spotify Web API we can now control the playback of a Spotify Client. With the endpoint https://api.spotify.com/v1/me/player/play we can add a song to be played.

I was wondering if there is a way to utilize the new endpoints to add a song to the players' queue. I'm planning to write an app to let multiple guests request songs that can be played through Spotify on a party.

Does anyone have an idea?

like image 407
Johannes Avatar asked May 12 '17 11:05

Johannes


3 Answers

They finally added the ability to add a song to a user's queue! Try it out here

like image 100
Peter Schorn Avatar answered Oct 19 '22 22:10

Peter Schorn


Okay, I found myself an answer. This feature is right now not supported. But it seems that this is not too far away on their roadmap.

https://github.com/spotify/web-api/issues/462

like image 37
Johannes Avatar answered Oct 20 '22 00:10

Johannes


I might be wrong but could it be a workaround to use a playlist in which you add/reorder tracks as much as you want during its playback ?

I know you can do this with the API :

https://developer.spotify.com/documentation/web-api/reference/playlists/

like image 26
Jack' Avatar answered Oct 20 '22 00:10

Jack'