feat: Spotify-style shuffle — pre-shuffle queue, each song plays once
Shuffle now shuffles the queue array once (current song first, rest randomised behind it) instead of picking a random index on every skip. Toggling shuffle off restores the original queue order. Removed the 'once' repeat state added in the previous commit. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
a8f56a9bc6
commit
6894e8a94a
3 files changed
+30
-7
No files matched your search
@@ -5,6 +5,7 @@ export const S = {
|
||||
// Playback
|
||||
queue: [],
|
||||
qIdx: -1,
|
||||
_origQueue: null,
|
||||
shuffle: false,
|
||||
repeat: false,
|
||||
radioMode: false,
|
||||
|
||||
Reference in new issue
Block a user