added support for more formats
This commit is contained in:
parent
a735d06185
commit
48a079858a
File diff suppressed because one or more lines are too long
|
@ -31,7 +31,7 @@
|
||||||
<p>params are:</p>
|
<p>params are:</p>
|
||||||
<p><b>t: tagging</b>, boolean</p>
|
<p><b>t: tagging</b>, boolean</p>
|
||||||
<p><b>f: format</b>, can be one of these:</p>
|
<p><b>f: format</b>, can be one of these:</p>
|
||||||
<p>aac_96, 64, 128, 320, ra1, ra2, ra3, sbc_256, misc</p>
|
<p>aac_96, 64, 128, 320, mp4_ra1, mp4_ra2, mp4_ra3, mhm1_ra1, mhm1_ra2, mhm1, sbc_256, misc</p>
|
||||||
<p>available formats depend on the track</p>
|
<p>available formats depend on the track</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
9
index.js
9
index.js
|
@ -10,9 +10,12 @@ const format_string_to_num = {
|
||||||
'64': '10',
|
'64': '10',
|
||||||
'128': '1',
|
'128': '1',
|
||||||
'320': '3',
|
'320': '3',
|
||||||
'ra1': '13',
|
'mp4_ra1': '13',
|
||||||
'ra2': '14',
|
'mp4_ra2': '14',
|
||||||
'ra3': '15',
|
'mp4_ra3': '15',
|
||||||
|
'mhm1_ra1': '16',
|
||||||
|
'mhm1_ra2': '17',
|
||||||
|
'mhm1': '18',
|
||||||
'sbc_256': '12',
|
'sbc_256': '12',
|
||||||
'misc': '0',
|
'misc': '0',
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue