This fixes "First track always the same in shuffle #793". Adding this call in the if statement allows a reshuffle to happen after the playlist ends so that when the playlist will restart, it will already have a new set location to go to. (#5689)
This commit is contained in:
parent
fba9e8dd69
commit
9f00e021f6
@ -334,6 +334,7 @@ void Player::PreviousItem(Engine::TrackChangeFlags change) {
|
||||
app_->playlist_manager()->active()->set_current_row(i);
|
||||
if (i == -1) {
|
||||
Stop();
|
||||
PlayAt(i, change, true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user