Skip to content
This repository has been archived by the owner on Aug 6, 2022. It is now read-only.

II.5. 3rdparty related issues

Andrey Bogdanov edited this page Feb 24, 2016 · 4 revisions

file utility

The file utility may output wrong MIME type for some mp3 files.

The explanation and solution are given on StackOverflow. Alternatively, you may build file from source, appending the following to the magic/Header file:

# MPEG Layer 3 audio files
0       short   &0xffe0     audio/mpeg
!:mime  audio/mpeg
# MPE with ID3 tag
0       string      ID3     audio/mpeg
!:mime  audio/mpeg
Clone this wiki locally