Jump to song in playlist #620
-
Hi there. I am immigrating from the first API to new REST api. Got most things up running. I would like to start playback from a specific song in a playlist, and when this song ends, continue shuffling in the playlist. This seems to be broken in the new API. I found this, and that is exactly what I want to do But if I apply both a playlist and a track uri in the ResumePlayback, it states, that I can supply only one or the other. Is this a bug? Or is there another way to do this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I just found the offset parameter....... So this is probably the answer. For anyone using time on this: |
Beta Was this translation helpful? Give feedback.
I just found the offset parameter....... So this is probably the answer.
For anyone using time on this:
bool playing = spotify.Player.ResumePlayback(new PlayerResumePlaybackRequest() { DeviceId = dID, ContextUri = param1, OffsetParam = new PlayerResumePlaybackRequest.Offset { Uri = param2 } }).Result;