From 125ae9b50587cd5e362ddcd8114024fc2f6130b6 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Mon, 18 May 2015 00:05:49 +0200 Subject: [PATCH] tags: remove xiph tag DESCRIPTION as it's parsed as COMMENT by MPD --- src/tags.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tags.cpp b/src/tags.cpp index bf1a8a1c..11e73d2f 100644 --- a/src/tags.cpp +++ b/src/tags.cpp @@ -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));