Announcements

Help Wizard

Step 1

NEXT STEP

API functions for "current song radio list" and "add to queue after current"

API functions for "current song radio list" and "add to queue after current"

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

Reply
3 Replies

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/

The whole radio system is not available through the API. But I can't find an issue for it in here. There was one here: https://github.com/spotify/web-api/issues/445 but I don't know if github is used any more. It would be nice to have somewhere to see what the open ideas are so we can lend our votes to them; maybe there is and I just can't find it.

The recommendations API is good but does not seem to have the synergy that the in-app radio does with your listening preferences.

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?

Suggested posts