From taglib-devel Mon Aug 22 17:19:41 2005 From: "Jonas =?iso-8859-1?q?Sundstr=F6m?=" Date: Mon, 22 Aug 2005 17:19:41 +0000 To: taglib-devel Subject: Re: ID3 tags on WAV files? Message-Id: <5038999265-BeMail () castro> X-MARC-Message: https://marc.info/?l=taglib-devel&m=112473121226287 Bob Friesenhahn 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 _______________________________________________ taglib-devel mailing list taglib-devel@kde.org https://mail.kde.org/mailman/listinfo/taglib-devel