I've found that using APE::Tag::addValue with replace=false leads to corrupting of tag keys: in written ape or mp3 file all keys are empty, while their values are written normally.<br>I've used this code:<br><br> TagLib::APE::File *f=new TagLib::APE::File(FILE_NAME(fileName));<br>
if (f) {<br> TagLib::APE::Tag *tag=f->APETag(true);<br> if (tag) tag->addValue("ARTIST","artist",false);<br> f->save();<br> }<br> delete f;<br>
<br>Please test this case because I don't know whether it is my mistake or some bug in TagLib. Right now I have no free time to do it myself.<br>