tags: remove xiph tag DESCRIPTION as it's parsed as COMMENT by MPD

This commit is contained in:
Andrzej Rybczak
2015-05-18 00:05:49 +02:00
parent a800226cd4
commit 125ae9b505

View File

@@ -183,6 +183,8 @@ void writeXiphComments(const MPD::MutableSong &s, TagLib::Ogg::XiphComment *tag)
tag->removeField("TRACK");
// remove field DISC, some taggers use it as DISCNUMBER
tag->removeField("DISC");
// remove field DESCRIPTION, it's displayed as COMMENT
tag->removeField("DESCRIPTION");
writeXiph("TITLE", tagList(s, &MPD::Song::getTitle));
writeXiph("ARTIST", tagList(s, &MPD::Song::getArtist));
writeXiph("ALBUMARTIST", tagList(s, &MPD::Song::getAlbumArtist));