'file -i' reports application/octet-stream for mp3 files

Bug #1434647 reported by Paulo Marcel Coelho Aragão
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
file (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

'file -i' reports 'application/octet-stream' for mp3 files, when it should be 'audio/mpeg'.

It can be reproduced with any mp3 file:

file -i <file>

To get the correct mime type:

xdg-mime query filetype <file>

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: file 1:5.19-1ubuntu1.2
ProcVersionSignature: Ubuntu 3.16.0-31.43-generic 3.16.7-ckt5
Uname: Linux 3.16.0-31-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Fri Mar 20 14:54:25 2015
InstallationDate: Installed on 2014-11-25 (115 days ago)
InstallationMedia: Xubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: file
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Paulo Marcel Coelho Aragão (marcelpaulo) wrote :
Revision history for this message
Paulo Marcel Coelho Aragão (marcelpaulo) wrote :

This error was introduced with version 5.19-1ubuntu1.2. Version 5.19-1ubuntu1.1 was correctly reporting the MIME type of mp3 files as 'audio/mpeg'.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in file (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.