upd: add modplayer
This commit is contained in:
parent
3a95c5b18d
commit
a8b4689501
7 changed files with 753 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ export const FILE_TYPE_BROWSERSAFE = [
|
|||
'image/bmp',
|
||||
'image/tiff',
|
||||
'image/x-icon',
|
||||
'image/jxl',
|
||||
|
||||
// OggS
|
||||
'audio/opus',
|
||||
|
|
@ -48,6 +49,56 @@ export const FILE_TYPE_BROWSERSAFE = [
|
|||
'audio/x-flac',
|
||||
'audio/vnd.wave',
|
||||
];
|
||||
|
||||
export const FILE_TYPE_TRACKER_MODULES = [
|
||||
'audio/mod',
|
||||
'audio/x-mod',
|
||||
'audio/s3m',
|
||||
'audio/x-s3m',
|
||||
'audio/xm',
|
||||
'audio/x-xm',
|
||||
'audio/it',
|
||||
'audio/x-it',
|
||||
];
|
||||
|
||||
export const FILE_EXT_TRACKER_MODULES = [
|
||||
'mod',
|
||||
's3m',
|
||||
'xm',
|
||||
'it',
|
||||
'mptm',
|
||||
'stm',
|
||||
'nst',
|
||||
'm15',
|
||||
'stk',
|
||||
'wow',
|
||||
'ult',
|
||||
'669',
|
||||
'mtm',
|
||||
'med',
|
||||
'far',
|
||||
'mdl',
|
||||
'ams',
|
||||
'dsm',
|
||||
'amf',
|
||||
'okt',
|
||||
'dmf',
|
||||
'ptm',
|
||||
'psm',
|
||||
'mt2',
|
||||
'dbm',
|
||||
'digi',
|
||||
'imf',
|
||||
'j2b',
|
||||
'gdm',
|
||||
'umx',
|
||||
'plm',
|
||||
'mo3',
|
||||
'xpk',
|
||||
'ppm',
|
||||
'mmcmp',
|
||||
];
|
||||
|
||||
/*
|
||||
https://github.com/sindresorhus/file-type/blob/main/supported.js
|
||||
https://github.com/sindresorhus/file-type/blob/main/core.js
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue