-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'll do just that, it appears the libmagic signature database cannot
perform any better.
The problem is that both raw AACs and MP3s cannot be distinguished that
way. But I will survive :)

Thanks a lot!

P.S. If you don't know what new features you could add then I have a
couple of ideas :)
- -format detection based on provided metadata (and skip the libmagic
process)
- -A switch operator where predicates are dynamically evaluated (and not
just time expressions) - I really miss this one;)

On 05/08/2011 17:29, Romain Beauxis wrote:
>> P.S. Regarding the libmagic problem: The File utility on Cygwin (v5.05,
>> > ldd reports that it uses libmagic) only partially detects the correct
>> > file formats as well. For example, MP3 are seen as "Audio files with ID3
>> > version X.X.X". File -i always translates that to
>> > application/octet-stream, unfortunately. I'll see if updating both the
>> > libmagic mime and magic fingerprint databases will be enough to make it
>> > work.
> Yeah, we used to associate application/octet-stream with mo3 in the
> past. I removed it when we added file extensions check...
> 
> You can however still add this mime to the list of mimes attributed to
> mp3 format using the decoder.mime_types.mp3 configuration key..
> 
> BTW, the main problem here is that mp3 format is really hard to
> detect.. Files usually have garbage at their beginning and this
> confuses a lot the detection tests..
> 
> Romain

- -- 
best regards,

okay_awright
<okay_awright AT ddcr DOT biz>
[PGP key on request]
-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJOPBIxAAoJEN2X/7ng71pTBQMH+gPxO7wQ7hHjWDjxHKFiINkL
cuj5sK/jayw2llOXCF8gpMeJrHaYki3G5+nCVU0NQrOD+wEichZNA97hmep0ZHro
QvLnKEUGfAhqeyahAeCx2W+Tz3tIDZRMyuG1YwTcV91yzkVG3xsRIfM5i9/6ikm/
CGNiXUMZrdsGuwY/DkWN5tkg/8IvKzfc9ikaZ+eDcenQ1AZMzLADy+Waq8FM3nW0
QhcBMb/R7Ed3jcb3xLz3iqbdK8v23bpyLdMO3P3XbCxtlfyz8aLOym5JEMMoqg7N
TVy9dAQIqJ3GS+PYXrTwNHT5U7j4y3gj+PlM1zh0xz9nt6Xo9hnhfTsxlelTLF8=
=XsU4
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to