file not recognizing MP3 files?
and.damore at macports.org
Wed Mar 2 00:49:49 PST 2011
On Tue, Mar 1, 2011 at 3:20 AM, Andrew Watts <ahwatts at gmail.com> wrote:
> I just tried uninstalling & reinstalling 5.05, and I'm getting the
> same behavior. I get identical results to yours from the "file -l"
> Curiously, it's also not recognizing binaries (like its own) as Mach-O
> executables. file `which file` is giving me "data".
> It does recognize things like M4A and WAV files, as well as JPEGs / PNGs.
Out of curiosity what's md5 for /opt/local/share/misc/magic.mgc @5.05 ?
~ $ md5 /opt/local/share/misc/magic.mgc
MD5 (/opt/local/share/misc/magic.mgc) = 5b0f88319e3367f3597650fa9782522f
~ $ port -v installed file
The following ports are currently installed:
file @5.05_0+universal (active) platform='darwin 10' archs='i386 x86_64'
~ $ file -l | grep "ID3\|MPEG"
Strength = 70 : MPEG ADIF, AAC [audio/x-hx-aac-adif]
Strength = 60 : Audio file with ID3 version 2 
Strength = 71 : MPEG sequence [video/mpeg]
Strength = 70 : MPEG transport stream data 
Strength = 51 : MPEG ADTS, layer III, v1, 32 kbps [audio/mpeg]
Strength = 50 : MPEG-4 LOAS [audio/x-mp4a-latm]
Strength = 50 : MPEG ADTS, AAC [audio/x-hx-aac-adts]
Strength = 50 : MPEG ADTS, layer III, v2.5 [audio/mpeg]
Strength = 50 : MPEG ADTS, layer I, v2 [audio/mpeg]
Strength = 50 : MPEG ADTS, layer II, v2 
Strength = 50 : MPEG ADTS, layer III, v2 [audio/mpeg]
Strength = 50 : MPEG ADTS, layer II, v1 [audio/mpeg]
More information about the macports-users