Changing songs on web player will play wrong song if a song above is disabled

Reply
Highlighted

Changing songs on web player will play wrong song if a song above is disabled

Regular

Plan

Premium

Country

UK

Device

Chrome on Linux, controlling Android app on Samsung S10e

Operating System

Web (Chrome) / Android 10

 

My Question or Issue

 

I've come across a bug in the web player where changing songs in a playlist (by double clicking on a song) will play the wrong song if a song anywhere above in the list is unavailable (greyed out).

 

For example, if my playlist looks like:

  1. Fall Apart
  2. Orpheus
  3. Saccharine Smile (greyed out)
  4. C'mon
  5. Lazy Generation

and I'm playing #1 Fall Apart, if I double click on #2 Orpheus then #2 Orpheus will play. But if I double click on #4 C'mon (below the greyed out #3 Saccharine Smile) then #5 Lazy Generation will play. It's as though the logic somewhere is saying "Play song #4" (which I double clicked on) but the array of songs doesn't include the unavailable song #3, so array index #4 is actually offset by 1 (it's pointing to #5 Lazy Generation).

 

I've experienced this when using the web player to control Spotify playing on my phone, but I expect this behaviour exists everwhere in the web player.

 

SUGGESTED POSTS