Announcements

Help Wizard

Step 1

NEXT STEP

Autoplay - is there any way to turn it on using Web API?

Autoplay - is there any way to turn it on using Web API?

Hi.

 

Is there any way to turn on the autoplay feature using the Web API requests?

 

I'm doing something a little bit weird, just made a Perl script to run Curl requests.

 

Everything works fine, I can play, change playlists, etc. But the autoplay is never on.

 

I'm using Librespost as back system and I'm absolutely sure autoplay is on by the command line, but Librespost try to request:

https://gew1-spclient.spotify.com:443/radio-apollo/v3/tracks/?autoplay=false&product=0&country=BR&sa...

And debug shows an error message:

librespot_connect::spirc] ContextError: Error { kind: NotFound, error: StatusCode(404) }

Anyway, Librespot follow the client configuration and just try to override it, so I think it shouldn't have any effect.

So, is there any way to turn on autoplay using Web API requests?

Once in a while the autoplay works kind of by itself, but I can't figure out why and how.

I tried to request that 'gew1-spclient.spotify.com:443' URL but it gives me authorization error even using the token I got from the request token Spotify Web API request.

And again, everything works fine, so the process of getting the token works but I think the gew1-spclient uses a different approach (not the token I get from the Spotify Web API).

I'm stuck, I don't know how to turn on autoplay and sometimes it works like a ghost.

Reply
0 Replies

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random