[Touch-packages] [Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mp2t (mpeg transport stream)
I second comment #48. Ubuntu 16.04 (well, Mint 18.3 Sylvia actually, but it uses Xenial repositories). ``` $ hexdump -C -n 16 .ts 47 ff ff 50 52 49 56 54 3a 04 00 00 39 04 00 00 |G..PRIVT:...9...| $ mimetype --all .ts .ts: text/vnd.trolltech.linguist .ts: application/octet-stream ``` -- 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-info: Fix Released Status in shared-mime-info package in Ubuntu: Fix Released Status in Baltix: 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mp2t (mpeg transport stream)
for the record; ubuntu 16.04 LTS shows ".ts2" binary files as "text/vnd.trolltech.linguist" -- 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-info: Fix Released Status in shared-mime-info package in Ubuntu: Fix Released Status in Baltix: 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mp2t (mpeg transport stream)
I reported this bug and it was fixed in March 2010. If you see new problems then please feel free to open a new bug report! Describe the exact situation: does it fail with local ts-files? or only on network shares (samba)? Are the files encrypted or playable with your videoplayer? Do you use Nautilus or another file browser? Add version numbers of everything, ect... And leave a comment here with a link to your new bug report to help affected people follow you. To solve it yourself try my final patch from comment #20. I just checked my Linux Mint 17.1 which is based on Ubuntu 14.04 LTS: its file browser Nemo (= Nautilus clone) does recognize my ts-files correctly as MPEG-2 transport stream, locally and remote through NFS. I have no samba network shares. My ts-files were recorded by my settop- box and are not encrypted. -- 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mp2t (mpeg transport stream)
I hate to say it, but as part of a small paid open source development team with a very active community bug tracker for our own product, which is not supposed to prevent us from working on the features we need to implement (for the paying customers who make the open product possible) I can very well understand why this is still an issue after four, five or whatever years. -- 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp