Use album artist for album repeat mode

This commit is contained in:
Jonas Kvinge 2020-07-30 20:46:30 +02:00
parent dc4adf2836
commit 2d5a6d6583
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ int Playlist::NextVirtualIndex(int i, bool ignore_repeat_track) const {
} }
Song this_song = item_at(virtual_items_[j])->Metadata(); Song this_song = item_at(virtual_items_[j])->Metadata();
if (((last_song.is_compilation() && this_song.is_compilation()) || if (((last_song.is_compilation() && this_song.is_compilation()) ||
last_song.artist() == this_song.artist()) && last_song.effective_albumartist() == this_song.effective_albumartist()) &&
last_song.album() == this_song.album() && last_song.album() == this_song.album() &&
FilterContainsVirtualIndex(j)) { FilterContainsVirtualIndex(j)) {
return j; // Found one return j; // Found one