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

master
Andrzej Rybczak 11 years ago
parent 4d4b7c542f
commit d54de65990
  1. 1
      NEWS
  2. 2
      src/tags.cpp

@ -4,6 +4,7 @@ ncmpcpp-0.6.5 (????-??-??)
* Configure script now fails if either readline or pthread specific headers are not present.
* Searching in text fields now respects regular expression configuration.
* When numbering tracks in tag editor all the other track tags are discarded.
* Xiph tag DESCRIPTION is now rewritten as COMMENT when updating tags.
ncmpcpp-0.6.4 (2015-05-02)

@ -184,6 +184,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));

Loading…
Cancel
Save