sort playlist: add 'album artist' to the sort options

This commit is contained in:
Adrian Kowalski
2015-11-05 09:58:01 +01:00
committed by Andrzej Rybczak
parent d5ee2e67d5
commit 257f67c732
2 changed files with 6 additions and 0 deletions

3
NEWS
View File

@@ -1,3 +1,6 @@
ncmpcpp-0.7_beta2 (????-??-??)
* Playlist sorting dialog now contains 'Album artist' option.
ncmpcpp-0.7_beta1 (2015-11-04)
* Visualizer has now support for multiple colors (visualizer_color configuration variable takes the list of colors to be used).

View File

@@ -50,6 +50,9 @@ SortPlaylistDialog::SortPlaylistDialog()
w.addItem(Entry(std::make_pair("Artist", &MPD::Song::getArtist),
std::bind(&Self::moveSortOrderHint, this)
));
w.addItem(Entry(std::make_pair("Album artist", &MPD::Song::getAlbumArtist),
std::bind(&Self::moveSortOrderHint, this)
));
w.addItem(Entry(std::make_pair("Album", &MPD::Song::getAlbum),
std::bind(&Self::moveSortOrderHint, this)
));