retromp3 / retro

an ipod classic for iOS/Android, built with Flutter
https://retromusic.co
MIT License
317 stars 20 forks source link

Shuffling #18

Open sakofchit opened 1 year ago

sakofchit commented 1 year ago

On the old Retro app, I implemented Shuffling by simply playing a random song from the user's library when the user tapped on the fast forward icon. I wasn't keeping track of songs the user had already played so there was no way to go back lol

So for this to work, the simplest approach would be to create a temporary song list/playlist upon tapping on the 'shuffle' button that has the id of each random song that's added to it in the order that they are played.

sakofchit commented 1 year ago

also to add to this, this is a workaround since shuffling hasn't been implemented in https://github.com/brim-borium/spotify_sdk afiak