- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I integrated playback SDK with Player API in my side project, mostly is functional
but when i playing music on local initialized playback and click set repeat mode button.
It would trigger error (technically, no error coz API response is 2xx).
API i called is following order
/me/player/repeat with device Id and state=context
endpoint would return 204 (That expected because it async command nature of Spotify API)
but it also auto called below API from Playback SDK
/track-playback/v1/devices/:deviceId/state
/track-playback/v1/devices/:deviceId/state_conflict
And after that, player repeat mode just get rollbacked to before.
How can i fix it ?
Attached is HAR captrued from network console. you can take a look first 2 ~ 5 entries.
OS: MacOS
Browser: Latest Chrome
Ref:
Playback SDK
Player API
My side project
Source code for set repeat mode
Solved! Go to Solution.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page