Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Spotify SDK

Spotify SDK

I have the sdk somewhat working. Im able to play songs on it however, I want it to keep playing after a complete page refresh. Currently when the page refreshes it causes the player to re initialize again and produce a new device id, which is fine but when I click play after the page refresh the sdk is completely locked up. The playback state says that the paused property is false but then changes to true. I have tried calling the web api to make the song play once it gets to that phase, it returns status code 204 but does not make the song play.

 

Reply
1 Reply

Bumping this, I've been developing an app with the Spotify SDK, it used to work fine last week but this week the player state crashes after load or refresh, it works fine after searching for a track but that really hurts user and developer experience.

 Last week, after ready event triggered, triggered player_state_changed event and with that it loaded the state and with that the track, now, it's not triggering that event, so there's basically no player state, no context, no nothing unless I trigger it with search API.


@michaelm2000 wrote:

Currently when the page refreshes it causes the player to re initialize again and produce a new device id.


That's normal behavior, the issue should be the player state.

Suggested posts