File type determiner parses mp3, other media files and returns "plain text document"

Bug #445038 reported by Delan Azabani
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
shared-mime-info (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu's file type determiner parses mp3, other media files and returns "plain text document". This means that:
- it will open with the associated editor for plain text documents, i.e. gedit
- changing the default association from the Properties dialog to Totem will change association for text files too
- you can't do the mouse-over audio preview trick in desktop/nautilus as it's supposedly "only for audio files".

Ubuntu Karmic Beta
GNOME 2.28.0

Revision history for this message
Delan Azabani (azabani) wrote :

Note: file type determiner also classifies other files, like PNG files and MIDI files as text files.
Some of my H.264/AVC mp4 files are unthumbnailed, "text files", while three of them are recognized and thumbnailed.

Revision history for this message
Philip Muškovac (yofel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 444962, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

Revision history for this message
Jacques L. (asdfgerv) wrote :

Confirmed since the latest shared-mime-info update in karmic.
Every single file is identified as text/plain.

(The bug seems to be in the mime database since it can also be observed with the xdg-open command)

affects: ubuntu → shared-mime-info (Ubuntu)
Changed in shared-mime-info (Ubuntu):
status: New → Confirmed
Revision history for this message
Nikolai Mouraviev (kolyamouraviev) wrote :

Like previous poster, can confirm since the latest shared-mime-info update in Karmic.

Every single file is identified as text/plain.

Easily fixed with:

sudo update-mime-database /usr/share/mime
sudo update-desktop-database

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.