file/libmagic integration
The file command can be also used to determine the MIME type. Internally it uses libmagic which is a database of MIME types and magic signatures.
I had some confusion when it turned out that the shared-mime-info is a separate project. Thus we need to add a new type twice and here can be a problem when the resolved mime type is not the same. Users also wants to convert one DB to another.
Why not to merge this two project into one?
I don't know if this is stated somewhere but I tried to search and didn't find an answer. Maybe this is for historical reasons or maybe it's a license issue because it uses non a GPL license.
There is also some governance problem because their bug tracker is hosted by some private company. But anyway, it makes a lot of sense to me to merge this projects, at least on DB level.