Removal of ID3v2 header from FLAC files
david at troendle.org
Wed May 18 17:57:15 CEST 2011
Thanks for the feedback and your work on this project.
FYI, I was trying to do what "bool TagLib::MPEG::File::strip ( int tags =
AllTags )" does for TagLib::MPEG::Files.
From: Lukáš Lalinský [mailto:lalinsky at gmail.com]
Sent: Wednesday, May 18, 2011 10:48 AM
To: taglib-devel at kde.org
Subject: Re: Removal of ID3v2 header from FLAC files
On Wed, May 18, 2011 at 5:36 PM, David Troendle <david at troendle.org> wrote:
> I am still a bit new at this, but I believe the code snippet below
> will remove all ID3v2 frames from a TagLib::FLAC::File. However the
> ID3v2 header appears to remain because calls to
> TagLib::FLAC::File::ID3v2 return a non-NULL. Also, Mp3tag still reports
there are ID3v2 tags.
> Is there a way to remove the ID3v2 header?
There isn't any officially supported way at the moment. Even if you would
manage to make FLAC::File::ID3v2() return NULL, it would not delete the tag.
The TagLib::FLAC::File class must be modified to support this, as it has
information about the original ID3v2 tag.
Something like this should be added at the right place in
I'll try to implement it for the next TagLib release.
taglib-devel mailing list
taglib-devel at kde.org
More information about the taglib-devel