tree_magic icon indicating copy to clipboard operation
tree_magic copied to clipboard

tree_magic misidentifies audio files

Open lovesegfault opened this issue 7 years ago • 2 comments

If you test tree_magic on the test files in Musync (Check the data/ folder) you get mostly bogus results, with only a couple identifying correctly.

lovesegfault avatar Feb 02 '18 01:02 lovesegfault

It seems to work fine? I just added them to the test directory and they seem to be fine, except for WAV which is showing up as a generic application/x-riff and the ogg files which don't have proper aliases set up.

Out of curiosity, are you using a Linux system? I tested it on Windows. I'm starting to think pulling the system's MIME database is a bad idea, as there's no real reason to do so outside of obscure proprietary software adding their own definitions.

aahancoc avatar Feb 04 '18 22:02 aahancoc

I'm on Linux, yeah, Arch Linux specifically. And I have to agree that using the system's MIME db is indeed a bad idea. On Linux it can be, and usually is, not correctly configured.

lovesegfault avatar Feb 20 '18 18:02 lovesegfault