This commit is contained in:
Siiiiinth
2026-02-15 09:29:20 -08:00
committed by Drew Weymouth
parent 17e20e1596
commit c21be4e55f
+1 -1
View File
@@ -326,7 +326,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) {