spotify / web-api

This issue tracker is no longer used. Join us in the Spotify for Developers forum for support with the Spotify Web API ➡️ https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer
981 stars 79 forks source link

Starting a playlist on a specified URI starts first track in playlist #630

Open janmei opened 7 years ago

janmei commented 7 years ago

Issue found on July 31st 2017

Endpoint(s):

Scope(s):

Steps to reproduce:

  1. Open the API Console
  2. Call the start-a-users-playback with the the defined scope above and the PUT Body: { "context_uri": "spotify:user:spinninrecordsofficial:playlist:5aHawERps0AMmMLU1KHvv6", "offset": {"uri": "spotify:track:3lW5U8Ls8JKhhjmY88Nxeb"}}

Expected behaviour:

The playlist or album should start with the specified Track in that playlist or album.

Actual behaviour:

Player starts with the very first Element of the Playlist or Album.

Happens every Time I call it.

Thanks in advance

bih commented 7 years ago

Hey janmei,

That's strange. When I try to reproduce your steps, it plays the correct song (in this case it plays "Let's Go" by "Lucas & Steve" from the "Spinnin' Records Top 100". I even changed the offset to a different track from the playlist, and it worked as expected.

The steps I can advise are:

Let me know if after trying those steps it still doesn't work as expected.

janmei commented 7 years ago

Hey bih,

I revoked the access and it worked again. Even in the API Console it works again. Don't know what happened there.

As long as this keeps working it is cool.

Thank you for your help.

janmei commented 7 years ago

I think i might know where this came from.

If I want to change the current playback on my local Laptop it works fine. But if I am listening it on for example my TV with Spotify as an Android Application on it, it starts the Playlist from the beginning as the original Issue description shows. This time I also recreated all my Tokens that I could find.

Maybe this helps a bit better for the fix.

tpict commented 6 years ago

I'm having the same issue playing through both the web client and the desktop app. Using a position offset works fine. Confirmed using the web API console.

dukeblue2017 commented 6 years ago

I'm having the same issue. Others still experiencing playback of the first track only? I can set a different track by using position, but not with uri.