aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag/Set.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tag/Set: do AlbumArtist/Artist fallback only if AlbumArtist is not disabledMax Kellermann2014-11-081-0/+2
| | | | | | | | | | 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.
* Tag: add class const_iterator and methods begin(), end()Max Kellermann2014-07-121-9/+8
| | | | Enables using range-based "for".
* db/Helpers: move code to tag/Set.cxxMax Kellermann2014-04-241-0/+116