tags: remove xiph tag DESCRIPTION as it's parsed as COMMENT by MPD
This commit is contained in:
1
NEWS
1
NEWS
@@ -4,6 +4,7 @@ ncmpcpp-0.6.5 (????-??-??)
|
|||||||
* Configure script now fails if either readline or pthread specific headers are not present.
|
* Configure script now fails if either readline or pthread specific headers are not present.
|
||||||
* Searching in text fields now respects regular expression configuration.
|
* Searching in text fields now respects regular expression configuration.
|
||||||
* When numbering tracks in tag editor all the other track tags are discarded.
|
* 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)
|
ncmpcpp-0.6.4 (2015-05-02)
|
||||||
|
|
||||||
|
|||||||
@@ -184,6 +184,8 @@ void writeXiphComments(const MPD::MutableSong &s, TagLib::Ogg::XiphComment *tag)
|
|||||||
tag->removeField("TRACK");
|
tag->removeField("TRACK");
|
||||||
// remove field DISC, some taggers use it as DISCNUMBER
|
// remove field DISC, some taggers use it as DISCNUMBER
|
||||||
tag->removeField("DISC");
|
tag->removeField("DISC");
|
||||||
|
// remove field DESCRIPTION, it's displayed as COMMENT
|
||||||
|
tag->removeField("DESCRIPTION");
|
||||||
writeXiph("TITLE", tagList(s, &MPD::Song::getTitle));
|
writeXiph("TITLE", tagList(s, &MPD::Song::getTitle));
|
||||||
writeXiph("ARTIST", tagList(s, &MPD::Song::getArtist));
|
writeXiph("ARTIST", tagList(s, &MPD::Song::getArtist));
|
||||||
writeXiph("ALBUMARTIST", tagList(s, &MPD::Song::getAlbumArtist));
|
writeXiph("ALBUMARTIST", tagList(s, &MPD::Song::getAlbumArtist));
|
||||||
|
|||||||
Reference in New Issue
Block a user