Shuffle: Start with random track if not selecting track directly
Starting a playlist, album or artist with shuffle enabled always starts on the first track in it and then plays the rest of the queue shuffled. This changes it so unless a track is picked directly, playback will start on a random track of the selection.
This commit is contained in:
committed by
Henrik Friedrichsen
parent
f292b939b3
commit
363e71242a
@@ -140,7 +140,7 @@ impl ListItem for Playlist {
|
||||
|
||||
if let Some(tracks) = self.tracks.as_ref() {
|
||||
let index = queue.append_next(tracks.iter().collect());
|
||||
queue.play(index, true);
|
||||
queue.play(index, true, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user