Deleting ID3v2 Frames
Festus Hagen
festushagenlists at yahoo.com
Wed Nov 30 04:35:11 UTC 2016
Hi all,
Just noticed something, don't remember this being the case and would like confirmation.
The inability to delete certain frames.
Maybe I'm doing something wrong?
The basics of the code is ...
MPEG::File audioFile(fileName);
ID3v2::Tag *id3v2tag = audioFile.ID3v2Tag();
ID3v2::FrameList::ConstIterator it = id3v2tag->frameList().begin();
for(; it != id3v2tag->frameList().end(); ++it)
id3v2tag->removeFrame((*it), true);
audioFile.save(MPEG::File::ID3v2, false, 3);
Is unable to delete at least the following Frames.
TIT2
TPE1
TALB
COMM
TCON
TDRC
TRCK
TagLib2 and Master.
Win32-g++
Thanks
-Enjoy
fh : )_~
More information about the taglib-devel
mailing list