Commit 46de194a authored by StefanBruens's avatar StefanBruens

Add magic for Musepack SV8

According to http://trac.musepack.net/musepack/wiki/SV8Specification,
the file starts with a 'MPCK' magic.

Currently, only the SV7 magic, 'MP+' is recognized:
http://trac.musepack.net/musepack/wiki/SV7Specification.

Fixes #104.
parent 1e8751ed
Pipeline #142847 passed with stage
in 1 minute and 25 seconds
......@@ -4436,6 +4436,7 @@ command to generate the output files.
<comment>Musepack audio</comment>
<magic priority="50">
<match type="string" value="MP+" offset="0"/>
<match type="string" value="MPCK" offset="0"/>
</magic>
<glob pattern="*.mpc"/>
<glob pattern="*.mpp"/>
......
......@@ -238,6 +238,8 @@ sample2.amr audio/amr
raw-mjpeg.mjpeg video/x-mjpeg oxo
# From https://cgit.kde.org/kfilemetadata.git/tree/autotests/samplefiles
x_speex_ogg.spx audio/x-speex+ogg
# From https://cgit.kde.org/kfilemetadata.git/tree/autotests/samplefiles
test.mpc audio/x-musepack
# text
text-iso8859-15.txt text/plain
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment