Re: [bitpim-cvs-checkins] bitpim fileinfo.py,1.21,1.22

"Roger Binns" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <007501c551ff$f3e504f0$3501a8c0@rogersqyvr14d3>
> Some QCP files are being identified as MP3s.  Reversed the order of dir() in
> the audioids= line so that QCP files are tested for first.  I assume there is a
> better way to fix this, but this was a quick, but probably fragile fix.

The better fix is to ensure the MP3 routine is last.  It is actually really
hard to work out if a file is valid MP3 since they can have any amount of
gunk as headers and trailers and an MP3 frame starts with 0xffff.

Roger


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.