When listing albums where composer is used for artist grouping, place album artist name after album name if different from composer.

Issue #896
This commit is contained in:
Craig Drummond
2016-10-16 22:33:41 +01:00
committed by Craig Drummond
parent 08676765b2
commit eaca1f34f3
29 changed files with 227 additions and 263 deletions

View File

@@ -171,8 +171,8 @@ QVariantMap Mpris::Metadata() const {
}
metadataMap.insert("xesam:artist", QStringList() << currentSong.artist);
metadataMap.insert("xesam:title", currentSong.title);
if (!currentSong.genre.isEmpty()) {
metadataMap.insert("xesam:genre", QStringList() << currentSong.genre);
if (!currentSong.genres[0].isEmpty()) {
metadataMap.insert("xesam:genre", QStringList() << currentSong.genres[0]);
}
if (currentSong.track>0) {
metadataMap.insert("xesam:trackNumber", currentSong.track);