Fix removal of XiphComments

wilder
Andrzej Rybczak 2 years ago
parent 81e5cf58b4
commit 9c396d7ef0
  1. 1
      src/tags.cpp

@ -174,6 +174,7 @@ void writeID3v2Tags(const MPD::MutableSong &s, TagLib::ID3v2::Tag *tag)
void writeXiphComments(const MPD::MutableSong &s, TagLib::Ogg::XiphComment *tag)
{
auto writeXiph = [&](const TagLib::String &type, const TagLib::StringList &list) {
tag->removeFields(type);
for (auto it = list.begin(); it != list.end(); ++it)
tag->addField(type, *it, it == list.begin());
};

Loading…
Cancel
Save