Writing byte data to tags

Glenn McCord glenn.mccord at gmail.com
Tue Aug 10 10:23:08 CEST 2010


On Tue, Aug 10, 2010 at 8:21 PM, Glenn McCord <glenn.mccord at gmail.com> wrote:
> On Tue, Aug 10, 2010 at 8:00 PM, Vidar Wahlberg <canidae at exent.net> wrote:
>> On Tue, Aug 10, 2010 at 06:47:46PM +1200, Glenn McCord wrote:
>>> Okay, thanks. I don't want to go abusing a specification.
>>>
>>> I had a quick look at TagLibs ID3v2 headers. Am I right in thinking it
>>> will be able to take that raw data and perhaps place it in a GEOB tag?
>>
>> You're not planning to write ID3v2 headers to ogg/flac containers, are
>> you?
>> That is horribly wrong and nothing but a source of nasty headaches.
>>
>
> I'm definitely considering it. I was going to use
>
> TagLib::FLAC::File f(path);
> TagLib::ID3v2::Tag *tag = f.ID3v2Tag();

edit: Sorry, I meant
TagLib::ID3v2::Tag *tag = f.ID3v2Tag(true);

>
> and then start adding custom data to a GEOB tag which would be applied
> to the ID3v2 tag.
>
> Looking at the online API:
> http://developer.kde.org/~wheeler/taglib/api/classTagLib_1_1FLAC_1_1File.html#48569df79341414f29c03d4d3f4191c5
>
> it seemed to imply I could write an ID3v2 tag to a FLAC container.
>
> I'm open to suggestions on a better way to do this though.
>
> Thanks
>
>
>
>>
>> --
>> Regards,
>> Vidar Wahlberg
>> _______________________________________________
>> taglib-devel mailing list
>> taglib-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/taglib-devel
>>
>


More information about the taglib-devel mailing list