Add song to Spotify Queue through Spotify API
Asked Answered
H

3

9

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?

Hesitancy answered 12/5, 2017 at 11:49 Comment(0)
H
14

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

Hesitancy answered 12/5, 2017 at 11:56 Comment(3)
"not too far" if the scale you're using is the lifespan of the universeBabysit
No change over two years later. I hope they eventually add this.Noyade
Haha nailed it @Jack'Probity
N
3

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/

Necessaries answered 7/6, 2018 at 13:23 Comment(1)
The client will only pick up that a song was added if playback was started from the client rather than from code, unfortunately. But I figure this is the way to go for nowClari
S
3

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

Solace answered 12/3, 2020 at 0:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.