fix lint
This commit is contained in:
@@ -326,7 +326,7 @@ func (p *playbackEngine) SetShuffle(shuffle bool) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
newNowPlayingIdx := -1
|
var newNowPlayingIdx int
|
||||||
if shuffle {
|
if shuffle {
|
||||||
shuffledQueue := deepCopyMediaItemSlice(p.playQueue)
|
shuffledQueue := deepCopyMediaItemSlice(p.playQueue)
|
||||||
rand.Shuffle(len(shuffledQueue), func(i, j int) {
|
rand.Shuffle(len(shuffledQueue), func(i, j int) {
|
||||||
|
|||||||
Reference in New Issue
Block a user