tags..

Kyle gonemad at gmail.com
Wed Aug 17 01:12:22 UTC 2011


they arent wrapped up because every format doesnt support them..

if you wanted to transfer an image (i assume you mean album art) from one
format to the other.. just extract the image from one and store it into the
other

here is how to extract the image from an mp3

ID3v2::FrameList l = Tag->frameList("APIC");

    if(l.isEmpty())
        return NULL;

    ID3v2::AttachedPictureFrame *f = static_cast<ID3v2::AttachedPictureFrame
*>(l.front());

    Size = f->picture().size();

    char* data = (char*)malloc(Size);
    memcpy(data, f->picture().data(), Size);

    return data;

you can get any of the non wrapped tags using the frameList.. most of the
other formats have something similar

2011/8/16 <sf_2000 at mail.ru>

> Здравствуйте, Kyle.
>
> It would be also perfect to have support of the tag 'chap' for mp4
> files...
>
> Вы писали Monday, August 15, 2011, 4:34:01 PM:
>
> > You can get album artist and composer.. they just arent wrapped up
> > in neat little ->AlbumArtist()/->Composer() functions
>
> --
> С уважением,
> Руслан Драгунов                         mailto:sf_2000 at mail.ru
>
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel
>



-- 
-Kyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20110816/1fa1128f/attachment.html>


More information about the taglib-devel mailing list