ID3 tags on WAV files?

Jonas Sundström jonas at kirilla.com
Mon Aug 22 19:19:41 CEST 2005


Bob Friesenhahn <bfriesen at simple.dallas.tx.us> wrote:
 ...
> The way TagLib works now, if the file has an extension which is 
> slightly different than what it expects, it simply refuses to load 
> the 
> file.  If the using application can not (or should not) rename the 
> input file, then TagLib becomes simply useless.  If the file has the 
> wrong extension but is one that TagLib recognizes, then TagLib is 
> likely to mis-behave.

You're probably using TagLib::FileRef. 
At least so did I, at first.

There are other parts of the API that accept files
regardless of extension:

TagLib::FLAC::File
TagLib::MPC::File
TagLib::MPEG::File
TagLib::Ogg::File

IIRC.

Just add your own extension heuristic, or whatever probing
API your system / desktop environment affords you.

/Jonas Sundström.              www.kirilla.com



More information about the taglib-devel mailing list