boum
boum copied to clipboard
[Feat]: Add "shuffle" button to player view
Being able to turn shuffle on or off on the fly would be really nice. To be specific, this would mean storing the queue in its unshuffled state, then creating a shuffled copy of it with the current song at the start. Turning shuffle off would return the queue to its unshuffled state and continue playing from the current song's position in the unshuffled queue.
Clicking the shuffle button from an album or playlist would do the same thing as clicking the normal play button and then the hypothetical shuffle button I mentioned, except a random starting location would be selected from the song list rather than starting from the beginning of the song list.
Unfortunatly this is blocked for now as I'm waiting for this feature to be implemented in the underlying library, to not increase the complexity of the codebase even further. https://github.com/doublesymmetry/react-native-track-player/issues/122