<div>Hi,</div>
<div>I'm new to the mailing list, and am trying to use the TagLib for reading multiple types of music files.</div>
<div> </div>
<div>I'm trying to read from the .wma files using the following code, but frameList is always empty despite getting a valid Tag.</div>
<div> </div>
<div>Any ideas what went wrong while using TagLib 1.6.3.</div>
<div> </div>
<div>TagLib::RIFF::WAV::File ff ( fpath ); // fpath is a valid .wma file path</div>
<div>if ( ff.isValid() )</div>
<div>{</div>
<div> TagLib:ID3v2:Tag *id3v2tag == ff.tag();</div>
<div> if (idv2tag)</div>
<div> {</div>
<div> TagLib::ID3v2::FrameList frameList = id3v2tag->frameList();</div>
<div> if ( ! frameList.isEmpty())</div>
<div> {</div>
<div> cout<< frameList.front()->toString().toCString(true) <<endl;</div>
<div> }</div>
<div> }</div>
<div>}</div>
<div> </div>
<div> </div>
<div>Thanks & Regards</div>
<div>Prasad</div>