This commit is contained in:
Siiiiinth
2026-02-01 12:07:42 +01:00
parent 5d1636b18a
commit ac05e8207f
+1 -1
View File
@@ -323,7 +323,7 @@ func (p *playbackEngine) SetShuffle(shuffle bool) {
return
}
newNowPlayingIdx := -1
var newNowPlayingIdx int
if shuffle {
shuffledQueue := deepCopyMediaItemSlice(p.playQueue)
rand.Shuffle(len(shuffledQueue), func(i, j int) {