Bug 12478

Summary: Add SubViewer 2.0 mime-type
Product: shared-mime-info Reporter: Osmo Salomaa <otsaloma>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: mail
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Proposed patch
Proposed patch

Description Osmo Salomaa 2007-09-18 16:24:21 UTC
Please add an entry for SubViewer 2.0 subtitle file format.
http://wiki.videolan.org/SubViewer
Comment 1 Osmo Salomaa 2007-09-18 16:24:44 UTC
Created attachment 11625 [details] [review]
Proposed patch
Comment 2 Osmo Salomaa 2007-11-10 09:31:48 UTC
Created attachment 12438 [details] [review]
Proposed patch

New patch with mimetype changed to application/x-subviewer since the glob and magic match both SubViewer 1.0 and 2.0. As far as I know, the 2.0 version is the commonly used one, but you can't tell the difference without a large magic offset that goes past the information header.
Comment 3 Bastien Nocera 2008-02-21 09:26:37 UTC
I used text/x-subviewer instead.

* freedesktop.org.xml.in: Patch from Osmo Salomaa <otsaloma@cc.hut.fi>
to add the SubViewer subtitle mime-type
* tests/subtitle-subviewer.sub:
* tests/list: Add test case (Closes: #12478)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.