[xdg] rom-properties.xml: Add detection for iQue Player CMD.

Commit 0d792e38aa
([xdg] rp-config.desktop: Remove Version.)
accidentally removed the application/octet-stream entry.

I was planning on removing it in a separate commit, though.

This commit adds MIME type detection for iQue Player CMD files, which
restores icon thumbnailing for these files.

TODO: Distinguish between CMD and DAT.
This commit is contained in:
David Korth 2022-09-11 15:47:11 -04:00
parent 10ec09a77f
commit 792f1f745a
2 changed files with 15 additions and 1 deletions

View File

@ -42,8 +42,8 @@ application/x-gcz-image # GameCube
application/x-rvz-image # GameCube application/x-rvz-image # GameCube
application/x-gamecube-bnr # GameCubeBNR application/x-gamecube-bnr # GameCubeBNR
application/x-gamecube-save # GameCubeSave application/x-gamecube-save # GameCubeSave
application/x-ique-dat # iQuePlayer
application/x-ique-cmd # iQuePlayer application/x-ique-cmd # iQuePlayer
application/x-ique-dat # iQuePlayer
application/x-genesis-rom # MegaDrive application/x-genesis-rom # MegaDrive
application/x-sega-cd-rom # MegaDrive application/x-sega-cd-rom # MegaDrive
application/x-genesis-32x-rom # MegaDrive application/x-genesis-32x-rom # MegaDrive

View File

@ -312,6 +312,20 @@
</magic> </magic>
</mime-type> </mime-type>
<!-- iQuePlayer -->
<!-- TODO: Distinguish between CMD (10,668 bytes) and DAT (11,084 bytes). -->
<mime-type type="application/x-ique-cmd">
<comment>iQue Player content metadata file</comment>
<!-- FIXME: Better icon. -->
<sub-class-of type="application/octet-stream"/>
<generic-icon name="application-octet-stream"/>
<magic priority="75">
<match value="CAM\x00" type="string" offset="64">
<match value="Root" type="string" offset="10328"/>
</match>
</magic>
</mime-type>
<!-- MegaDrive --> <!-- MegaDrive -->
<mime-type type="application/x-sega-cd-32x-rom"> <mime-type type="application/x-sega-cd-32x-rom">
<!-- Translate this to Mega-CD if the console was known as such in your locale <!-- Translate this to Mega-CD if the console was known as such in your locale