touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #40518
[Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mp2t (mpeg transport stream)
"I don't understand why this is still an issue after 4 years."
I make it closer to five years.
Apparently freedesktop.org is not interested in updating their files.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to shared-mime-info in
Ubuntu.
https://bugs.launchpad.net/bugs/502642
Title:
.ts files always get recognized as application/x-linguist and never as
video/mp2t (mpeg transport stream)
Status in shared MIME database:
Fix Released
Status in shared-mime-info package in Ubuntu:
Fix Released
Status in Baltix GNU/Linux:
New
Bug description:
Binary package hint: shared-mime-info
I checked Hardy, Jaunty and Karmic: *.ts files are always mapped to
application/x-linguist by
/usr/share/mime/packages/freedesktop.org.xml. But there are several
Linux-based settop boxes that record videos in *.ts-files. So if
application/x-linguist is obsolete then it should simply be replaced
by video/mpeg. Otherwise the mime framework has to distinguish such
files by inspecting their headers. If someone knows more about
x-linguist files, please add a comment!
The problem has already been reported upstream two month ago (see
freedesktop.org above). 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 update your mime-database with:
$ update-mime-database ~/.local/share/mime
To trigger the regeneration of failed thumbnails just delete them:
$ rm ~/.thumbnails/fail/gnome-thumbnail-factory/*.png
ProblemType: Bug
Architecture: i386
Date: Sun Jan 3 17:47:29 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: shared-mime-info 0.70-0ubuntu1
ProcEnviron:
PATH=(custom, user)
LANG=de_CH.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: shared-mime-info
Uname: Linux 2.6.31-16-generic i686
To manage notifications about this bug go to:
https://bugs.launchpad.net/shared-mime-info/+bug/502642/+subscriptions