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

Start/Resume a User's Playback breaks when playing an offset of a duplicate song #1324

Open mbleifer opened 5 years ago

mbleifer commented 5 years ago

Issue found on August 15th 2019.

Endpoint(s):

Scope(s):

Steps to reproduce:

  1. Open the API Console
  2. Call the /v1/me/player/play endpoint with a uris array that contains two or more of the same track IDs, and set the offset: {position: _ } to any index of the duplicate song other than the last instance

Example: body: { "uris": ["spotify:track:1oTo3ijRbaDAtrjJrGAPSw","spotify:track:1oTo3ijRbaDAtrjJrGAPSw","spotify:track:1oTo3ijRbaDAtrjJrGAPSw"], "offset": { "position": 0 } }

Expected behaviour:

The song at index 0 should play. Hitting next would play the song two more times.

Actual behaviour:

Nothing plays. There is no error message. The Spotify app shows nothing playing and no media controls are enabled.

Vjteuro commented 5 years ago

https://github.com/spotify/web-api/issues/1324#issue-481474726