[Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream)

2010-03-25 Thread Oliver Joos
@Sebastien: thanks for asking about the magic. This made me running the hard test described in last comment. Now I fixed the last false positives. To accomplish this I added another 2 bits to the magic mask to only match if a transport stream is not scrambled. This is no big problem because

[Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream)

2010-03-24 Thread Oliver Joos
You can read upstream how magic was determined. Basically I took the proposal of Stanislav and adapted it after reading about mpeg headers on rfc3555 and Wikipedia (details on https://bugs.freedesktop.org/show_bug.cgi?id=14276#c7) The attached sample file is a video/mp2t, recorded by a common

[Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream)

2010-03-22 Thread Sebastien Bacher
thank you for your work there, how did you determine the magic to use? I've no files in that format to test that on so I'm a bit reluctant to upload the change in lucid, it seems it's also not something requested a lot seeing that the bug is the only opened on launchpad so far about the issue **

[Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream)

2010-03-22 Thread Sebastien Bacher
do you have any example of such video you could share there? -- .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream) https://bugs.launchpad.net/bugs/502642 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream)

2010-03-20 Thread Oliver Joos
I submitted the final patch upstream a few weeks ago. No feedback yet. Please help testing / committing it for Lucid LTS. ** Patch added: Patch to add support for video/mp2t (MPEG-2 transport streams) http://launchpadlibrarian.net/41475509/freedesktop.org.xml-adding_video_mp2t.patch ** Tags

[Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream)

2010-03-13 Thread Bug Watch Updater
** Changed in: shared-mime-info Status: Confirmed = In Progress -- .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream) https://bugs.launchpad.net/bugs/502642 You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream)

2010-03-08 Thread Oliver Joos
** Changed in: shared-mime-info (Ubuntu) Status: Triaged = In Progress -- .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream) https://bugs.launchpad.net/bugs/502642 You received this bug notification because you are a member of Ubuntu

[Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream)

2010-01-31 Thread Oliver Joos
24690 has been marked as duplicate of 14276. ** Bug watch added: freedesktop.org Bugzilla #14276 https://bugs.freedesktop.org/show_bug.cgi?id=14276 ** Changed in: shared-mime-info Status: Invalid = Unknown ** Changed in: shared-mime-info Remote watch: freedesktop.org Bugzilla #24690

[Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream)

2010-01-31 Thread Bug Watch Updater
** Changed in: shared-mime-info Status: Unknown = Confirmed -- .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream) https://bugs.launchpad.net/bugs/502642 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream)

2010-01-30 Thread Bug Watch Updater
** Changed in: shared-mime-info Status: Confirmed = Invalid -- .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream) https://bugs.launchpad.net/bugs/502642 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream)

2010-01-08 Thread Bug Watch Updater
** Changed in: shared-mime-info Status: Unknown = Confirmed -- .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream) https://bugs.launchpad.net/bugs/502642 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream)

2010-01-04 Thread Sebastien Bacher
Thank you for your bug report ** Changed in: shared-mime-info (Ubuntu) Importance: Undecided = Low ** Changed in: shared-mime-info (Ubuntu) Status: New = Triaged -- .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream)

[Bug 502642] Re: .ts files always get recognized as application/x-linguist and never as video/mpeg (transport stream)

2010-01-03 Thread Oliver Joos
** Attachment added: ~/.local/share/mime/packages/mpeg-ts.xml http://launchpadlibrarian.net/37384504/mpeg-ts.xml ** Attachment added: Dependencies.txt http://launchpadlibrarian.net/37384505/Dependencies.txt ** Attachment added: XsessionErrors.txt