WMA file TagLib::ID3v2::TextIdentificationFrame

Prasada Vontipenta prasada at autonomic-controls.com
Tue Dec 28 03:50:20 CET 2010


Scot,
Thank you for pointing.

I've tried using
                TagLib::ASF::File ff ( fpath );  //For WMA file

But symbol lookup error is coming while executing. I've installed the TagLib
library,  and extras library version 1 from Ubuntu software center.

Thanks
Prasad


>
> On Sun, Dec 26, 2010 at 10:42 PM, Prasada Vontipenta <
> prasada at autonomic-controls.com> wrote:
>
>> Hi,
>> I'm new to the mailing list, and am trying to use the TagLib for
>> reading multiple types of music files.
>>
>> I'm trying to read from the .wma files using the following code, but
>> frameList is always empty despite getting a valid Tag.
>>
>> Any ideas what went wrong while using TagLib 1.6.3.
>>
>> TagLib::RIFF::WAV::File ff ( fpath );  // fpath is a valid .wma file path
>> if ( ff.isValid() )
>> {
>>    TagLib:ID3v2:Tag *id3v2tag == ff.tag();
>>    if (idv2tag)
>>    {
>>        TagLib::ID3v2::FrameList frameList = id3v2tag->frameList();
>>        if ( ! frameList.isEmpty())
>>        {
>>            cout<< frameList.front()->toString().toCString(true) <<endl;
>>        }
>>    }
>> }
>>
>>
>> Thanks & Regards
>> Prasad
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/taglib-devel/attachments/20101227/fb4bb644/attachment.htm 


More information about the taglib-devel mailing list