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:
Grace Dolphy 2017-03-31 06:49:41 -04:00 committed by John Maguire
parent fba9e8dd69
commit 9f00e021f6

View File

@ -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;
}