/usr/share/mime/packages/subtitlecomposer.xml is in subtitlecomposer 0.6.6-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | <?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="text/x-ssa">
<comment>SubStation Alpha subtitles</comment>
<acronym>SSA</acronym>
<expanded-acronym>SubStation Alpha</expanded-acronym>
<sub-class-of type="text/plain"/>
<magic priority="50">
<match type="string" value="[Script Info]" offset="0:256">
<match type="string" value="ScriptType: V4.00" offset="0:256"/>
</match>
</magic>
<generic-icon name="text-x-generic"/>
<glob pattern="*.ssa"/>
</mime-type>
<mime-type type="text/x-ass">
<comment>Advanced SubStation Alpha subtitles</comment>
<acronym>ASS</acronym>
<expanded-acronym>Advanced SubStation</expanded-acronym>
<sub-class-of type="text/plain"/>
<magic priority="50">
<match type="string" value="[Script Info]" offset="0:256">
<match type="string" value="ScriptType: V4.00+" offset="0:256"/>
</match>
</magic>
<generic-icon name="text-x-generic"/>
<glob pattern="*.ass"/>
</mime-type>
<!-- Included in freedesktop.org database but misses *.txt glob
and for some reason txt files are not recognized without it
(unlike TMPlayer txt files).
-->
<mime-type type="text/x-microdvd">
<comment>MicroDVD subtitles</comment>
<sub-class-of type="text/plain"/>
<magic priority="50">
<match type="string" value="{1}" offset="0"/>
<match type="string" value="{0}" offset="0"/>
<match type="string" value="}{" offset="0:6"/>
</magic>
<generic-icon name="text-x-generic"/>
<glob pattern="*.sub"/>
<glob pattern="*.txt"/>
</mime-type>
<!-- Included in freedesktop.org database but misses *.mpsub glob -->
<mime-type type="text/x-mpsub">
<comment>MPSub subtitles</comment>
<acronym>MPSub</acronym>
<expanded-acronym>MPlayer Subtitle</expanded-acronym>
<sub-class-of type="text/plain"/>
<magic priority="50">
<match type="string" value="FORMAT=" offset="0:256"/>
</magic>
<generic-icon name="text-x-generic"/>
<glob pattern="*.mpsub"/>
<glob pattern="*.sub"/>
</mime-type>
<!-- Included in freedesktop.org database
<mime-type type="application/x-subrip"/>
-->
<!-- Included in freedesktop.org database
<mime-type type="text/x-subviewer"/>
-->
<mime-type type="text/x-mplsub">
<comment>MPLSub subtitles</comment>
<acronym>MPSub</acronym>
<expanded-acronym>MPlayer Subtitle</expanded-acronym>
<sub-class-of type="text/plain"/>
<generic-icon name="text-x-generic"/>
<glob pattern="*.mpl"/>
</mime-type>
<mime-type type="text/x-tmplayer">
<comment>TMPlayer subtitles</comment>
<sub-class-of type="text/plain"/>
<generic-icon name="text-x-generic"/>
<magic priority="40">
<match type="string" value="xx\:xx\:xx\:" mask="0x0000ff0000ff0000ff" offset="0"/>
<match type="string" value="xx\:xx\:xx\:" mask="0x0000ff0000ff0000ff" offset="9:256"/>
</magic>
<glob pattern="*.sub"/>
</mime-type>
<mime-type type="text/x-tmplayer+">
<comment>TMPlayer+ subtitles</comment>
<sub-class-of type="text/plain"/>
<generic-icon name="text-x-generic"/>
<magic priority="40">
<match type="string" value="xx\:xx\:xx=" mask="0x0000ff0000ff0000ff" offset="0"/>
<match type="string" value="xx\:xx\:xx\,1=" mask="0x0000ff0000ff0000ffffff" offset="0">
<match type="string" value="xx\:xx\:xx\,2=" mask="0x0000ff0000ff0000ffffff" offset="9:256"/>
</match>
</magic>
<glob pattern="*.sub"/>
</mime-type>
<mime-type type="application/x-vobsub">
<comment>VobSub subtitles index</comment>
<sub-class-of type="application/octet-stream"/>
<generic-icon name="text-x-generic"/>
<magic priority="50">
<match type="string" value="# VobSub index file" offset="0"/>
</magic>
<glob pattern="*.idx"/>
</mime-type>
<mime-type type="application/x-subtitle-matrix">
<comment>SubtitleComposer Symbol Matrix</comment>
<sub-class-of type="text/plain"/>
<generic-icon name="text-x-generic"/>
<magic priority="50">
<match type="string" value="SubtitleComposer Symbol Matrix v1.0" offset="0"/>
</magic>
<glob pattern="*.sym"/>
</mime-type>
</mime-info>
|