diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2021-06-30 20:18:41 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2021-07-30 01:01:50 +0300 |
commit | ef96ffabf3afdfabe4f9716415a945e4c998f3d8 (patch) | |
tree | dad9ec74c18bb9bb98a6410463b882c3a7a30f46 | |
parent | 3bebe9e66d8a57f92be3b1591df0794ed31be78d (diff) | |
download | shared-mime-info-ef96ffabf3afdfabe4f9716415a945e4c998f3d8.tar.gz |
application/x-mod: add some ProTracker magics and a test case
https://wiki.multimedia.cx/index.php/Protracker_Module#File_Format
-rw-r--r-- | data/freedesktop.org.xml.in | 2 | ||||
-rw-r--r-- | tests/mime-detection/list | 2 | ||||
-rw-r--r-- | tests/mime-detection/stranger_-_run.mod | bin | 0 -> 31770 bytes |
3 files changed, 4 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 01e19609..072db300 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -4449,6 +4449,8 @@ command to generate the output files. </match> </match> <match type="string" value="MAS_UTrack_V00" offset="0"/> + <match type="string" value="M.K." offset="1080"/> + <match type="string" value="M!K!" offset="1080"/> </magic> <glob pattern="*.mod"/> <glob pattern="*.ult"/> diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 97b6ab56..fd8f24d5 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -567,6 +567,8 @@ simon.669 audio/x-mod 4jsno.669 audio/x-mod # https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/144 false-positive-669 text/plain x +# Copied from http://modarchive.org/index.php?request=view_by_moduleid&query=177387 (public domain) +stranger_-_run.mod audio/x-mod # Copied from https://github.com/inAudible-NG/audible-samples test.aa audio/x-pn-audibleaudio test.aax audio/vnd.audible.aax diff --git a/tests/mime-detection/stranger_-_run.mod b/tests/mime-detection/stranger_-_run.mod Binary files differnew file mode 100644 index 00000000..3c14d45d --- /dev/null +++ b/tests/mime-detection/stranger_-_run.mod |