aome510 / spotify-player

A Spotify player in the terminal with full feature parity
MIT License
2.95k stars 132 forks source link

Only the first 100 songs are randomized over in a big playlist #442

Closed BinaryFly closed 2 months ago

BinaryFly commented 2 months ago

Describe the bug Whenever I play a song from a big playlist and put shuffle on true, it will only randomize over the first 100 songs in the playlist. I don't know if this is a spotify API related issue or not but it would be nice if we could use shuffle over the entire playlist instead of the first 100 tracks.

To Reproduce

  1. Open a big playlist (larger than 100 tracks)
  2. Play the first song
  3. Put shuffle on true (CTRL+S if you didn't change your keymaps)
  4. Skip to the next track a few times and see that the selected song will always be in the range of the first 100 songs.
BinaryFly commented 2 months ago

After not too much digging I found the following bug report from 2016 on a spotify community page. It seems this is a bug in the spotify API that has been around for a while. Maybe there is an easy workaround to simulate the desired behaviour still?

BinaryFly commented 2 months ago

Just saw that this already has a closed issue where this was handled. So I'll close this.