Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

tree_magic misidentifies audio files #8

Open
lovesegfault opened this issue Feb 2, 2018 · 2 comments
Open

tree_magic misidentifies audio files #8

lovesegfault opened this issue Feb 2, 2018 · 2 comments

Comments

@lovesegfault
Copy link

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.

@aahancoc
Copy link
Owner

aahancoc commented Feb 4, 2018

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.

@lovesegfault
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants