Skip to content

Commit 22fd919

Browse files
authored
Fix separator between albums with the same name, to check for album artist instead of artist (ncmpcpp#472)
1 parent 71970fa commit 22fd919

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# ncmpcpp-0.10 (????-??-??)
22
* Add the configuration option `mpd_password`.
33
* Separate chunks of lyrics with a double newline.
4+
* Fix separator between albums with the same name, to check for album artist
5+
instead of artist.
46

57
# ncmpcpp-0.9.2 (2021-01-24)
68
* Revert suppression of output of all external commands as that makes e.g album

src/display.cpp

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

0 commit comments

Comments
 (0)