Need help? Check out Spotify Answers for solutions to a wide range of topics. |
Plan
Premium
Country
Sweden
Device
(Pixel 2XL, PC)
Operating System
(Android Oreo, Windows 10)
My Question or Issue
I am trying to implement a button that I hit when I like a song. It should get the list of songs from the song radio of the currently playing song and add it to the song queue right after the current song (potentially removing the current song from the song radio list to avoid it being played twice). I did not find suitable API calls. Am I missing something or, if not, could this be added in the future? Could be a nice feature for the official player as well. Like a super-like button.
Cheers,
Lucas
Hey Lucas! This is an interesting idea. We don't have an API that is exactly like that but you might want to have a look at our recommendations API: https://developer.spotify.com/documentation/web-api/reference/browse/get-recommendations/
Nice, I remember seeing this once, but must have forgotten about this function.
I'll give it a go.
Is there also a call for adding to the queue anywhere else than to the absolute end?