.m2t files don't get recognized as mediafiles

Bug #89543 reported by Hugues Fournier
2
Affects Status Importance Assigned to Milestone
shared-mime-info
Invalid
Undecided
Unassigned
Nominated for Trunk by Oliver Joos
shared-mime-info (Ubuntu)
Fix Released
Wishlist
Ubuntu Desktop Bugs

Bug Description

Binary package hint: shared-mime-info

MPEG Transport Stream (M2T) is the most used transport for DVB-T. So most DVB-T raw recordings arem2t files.

M2T is handled by Ubuntu's default multimedia framework, Gstreamer.

However, its mime-type is not recognized by GNOME and double click leads to the following message:
"No application suitable for automatic installation is available for handling this kind of file."

share-mime-info has been patched upstream a few hours after the release of the 0.20 version in order to cope with these files, after a bug report on GNOME Bugzilla (#406196)
http://bugzilla.gnome.org/show_bug.cgi?id=406196

The related patch (obviously only the second part) :
http://webcvs.freedesktop.org/mime/shared-mime-info/freedesktop.org.xml.in?r1=1.226&r2=1.227&view=patch

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug, we will fix that for feisty

Changed in shared-mime-info:
assignee: nobody → desktop-bugs
importance: Undecided → Wishlist
status: Unconfirmed → Confirmed
Revision history for this message
Hugues Fournier (hugues-fournier) wrote :

As the bug is not fixed in the last release, just this short message as a kind reminder (I know how much work you should cope with, so do not feel constrained ;) .. As it is fixed upstream, at worst this will be fixed in feisty+1)

Revision history for this message
Sebastien Bacher (seb128) wrote :

This upload fixes the bug:

 shared-mime-info (0.20-0ubuntu4) feisty; urgency=low
 .
   * debian/patches/091_from_cvs_mt2_are_mpeg.patch:
     - patch from CVS, list .mt2 as a mpeg type (Ubuntu: #89543)

Changed in shared-mime-info:
status: Confirmed → Fix Released
Revision history for this message
Oliver Joos (oliver-joos) wrote :

Please reopen this bug.

For what I see in Hardy, Jaunty and Karmic *.ts are still mapped to application/x-linguist by /usr/share/mime/packages/freedesktop.org.xml. The problem has been reported upstream two month ago (see ). But for 10.04 LTS we should fix it by a patch, if it is not fixed upstream by then.

As a workaround copy the attached file to ~/.local/share/mime/packages/mpeg-ts.xml and then update your mime-database with:
$ update-mime-database ~/.local/share/mime

To trigger regeneration of failed thumbnails just delete them:
$ rm ~/.thumbnails/fail/gnome-thumbnail-factory/*.png

Revision history for this message
Oliver Joos (oliver-joos) wrote :
Revision history for this message
Oliver Joos (oliver-joos) wrote :

Please ignore my 2 comments above.
I decided to open a new bug #502642

Revision history for this message
Oliver Joos (oliver-joos) wrote :

Wrong bug for my findings, sorry. See new bug #502642 instead.

Changed in shared-mime-info:
importance: Unknown → Undecided
status: Unknown → New
status: New → Invalid
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.