Fix separator between albums with the same name, to check for album artist instead of artist (#472)

This commit is contained in:
Jonathan Neidel
2021-04-25 19:41:07 +02:00
committed by GitHub
parent 71970fa73c
commit 22fd919ce4
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
# ncmpcpp-0.10 (????-??-??)
* Add the configuration option `mpd_password`.
* Separate chunks of lyrics with a double newline.
* Fix separator between albums with the same name, to check for album artist
instead of artist.
# ncmpcpp-0.9.2 (2021-01-24)
* Revert suppression of output of all external commands as that makes e.g album

View File

@@ -92,9 +92,9 @@ void setProperties(NC::Menu<T> &menu, const MPD::Song &s, const SongList &list,
{
// Draw a separator when the next album is different than the current
// one. In case there are two albums with the same name, but a different
// artist, compare also artists.
// album artist, compare also album artists.
separate_albums = next->song()->getAlbum() != s.getAlbum()
|| next->song()->getArtist() != s.getArtist();
|| next->song()->getAlbumArtist() != s.getAlbumArtist();
}
}
}