aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/plugins
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-08 19:25:01 +0100
committerMax Kellermann <max@duempel.org>2014-11-08 19:25:01 +0100
commitb5ba94f1de06c621da937241eedfcfb100f26a09 (patch)
tree3f05f92e3445d47ddceafb81745dcf6079f19656 /src/input/plugins
parentcbf79769d396449cfc9e5555c7419cc3f117e8d4 (diff)
downloadmpd-b5ba94f1de06c621da937241eedfcfb100f26a09.tar.gz
mpd-b5ba94f1de06c621da937241eedfcfb100f26a09.tar.xz
mpd-b5ba94f1de06c621da937241eedfcfb100f26a09.zip
tag/Set: do AlbumArtist/Artist fallback only if AlbumArtist is not disabled
On "list albumartist", songs that have no AlbumArtist tag will use the Artist tag. However, if AlbumArtist is disabled via "metadata_to_use", the TagBuilder::AddItem() call is ignored, and PrintUniqueTag() attempts to print a nullptr string. This commit fixes the problem by attempting the fallback only if AlbumArtist is not disabled.
Diffstat (limited to 'src/input/plugins')
0 files changed, 0 insertions, 0 deletions