Added option to hide album dates (#417)
* Added option to hide album dates * Fixed formating typo
This commit is contained in:
committed by
GitHub
parent
b72768d168
commit
750e7ff59d
@@ -1116,7 +1116,8 @@ std::string AlbumToString(const AlbumEntry &ae)
|
||||
result += " - ";
|
||||
}
|
||||
}
|
||||
if (Config.media_lib_primary_tag != MPD_TAG_DATE && !ae.entry().date().empty() && !isAlbumOnly)
|
||||
|
||||
if (Config.media_lib_primary_tag != MPD_TAG_DATE && !Config.media_lib_hide_album_dates && !ae.entry().date().empty())
|
||||
result += "(" + ae.entry().date() + ") ";
|
||||
result += ae.entry().album().empty() ? "<no album>" : ae.entry().album();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user