diff -Nru a/src/subtitlecomposer.xml b/src/subtitlecomposer.xml --- a/src/subtitlecomposer.xml 2018-02-11 03:08:46.000000000 +0100 +++ b/src/subtitlecomposer.xml 2018-02-15 18:03:07.590956372 +0100 @@ -1,63 +1,5 @@ <?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"/>