I noticed that music files metadata contain both "ALBUM ARTIST" and "ALBUMARTIST" fields. When both are set, mpd creates ALBUMARTIST fields in the tag_cache file. That's not a problem for mpd itself but emms gets confused and emms-cache-set-from-mpd-all creates entries without any artist field, which makes them useless for searching.
See for instance the following metadata and the corresponding tag_cache entry. Julien. from metaflac: --8<---------------cut here---------------start------------->8--- ALBUM ARTIST=PJ Harvey ALBUMARTIST=PJ Harvey ALBUMARTIST_CREDIT=PJ Harvey ALBUMARTISTSORT=Harvey, PJ ARTIST=PJ Harvey ARTIST_CREDIT=PJ Harvey ARTISTSORT=Harvey, PJ --8<---------------cut here---------------end--------------->8--- tag_cache: --8<---------------cut here---------------start------------->8--- song_begin: 02 The Ministry of Defence.flac Time: 251.306000 Album: The Hope Six Demolition Project AlbumArtist: PJ Harvey AlbumArtist: PJ Harvey AlbumArtistSort: Harvey, PJ Artist: PJ Harvey ArtistSort: Harvey, PJ Date: 2016-04-15 Disc: 1 Disc: 1 Genre: Alternative MUSICBRAINZ_ALBUMARTISTID: e795e03d-b5d5-4a5f-834d-162cfb308a2c MUSICBRAINZ_ALBUMID: 63ba5add-9d2c-4e13-9684-62be576df8f2 MUSICBRAINZ_ARTISTID: e795e03d-b5d5-4a5f-834d-162cfb308a2c MUSICBRAINZ_TRACKID: 01ba6311-45b4-44a3-b8bf-a794018ba469 Title: The Ministry of Defence Track: 2 Track: 2 mtime: 1461049683 --8<---------------cut here---------------end--------------->8--- _______________________________________________ mpd-devel mailing list [email protected] http://mailman.blarg.de/listinfo/mpd-devel
