1
0
forked from um/web

feat: added support for mmp4 extension

This commit is contained in:
鲁树人 2022-11-27 14:12:17 +00:00
parent d27dec439d
commit 178666a1fc
2 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,7 @@ export async function Decrypt(file: FileInfo, config: Record<string, any>): Prom
case 'mgg': //QQ Music New Ogg case 'mgg': //QQ Music New Ogg
case 'mgg1': //QQ Music New Ogg case 'mgg1': //QQ Music New Ogg
case 'mgg0': case 'mgg0':
case 'mmp4': // QMC MP4 Container w/ E-AC-3 JOC
case '666c6163': //QQ Music Weiyun Flac case '666c6163': //QQ Music Weiyun Flac
case '6d7033': //QQ Music Weiyun Mp3 case '6d7033': //QQ Music Weiyun Mp3
case '6f6767': //QQ Music Weiyun Ogg case '6f6767': //QQ Music Weiyun Ogg

View File

@ -18,6 +18,7 @@ export const HandlerMap: { [key: string]: Handler } = {
mgg1: { ext: 'ogg', version: 2 }, mgg1: { ext: 'ogg', version: 2 },
mflac: { ext: 'flac', version: 2 }, mflac: { ext: 'flac', version: 2 },
mflac0: { ext: 'flac', version: 2 }, mflac0: { ext: 'flac', version: 2 },
mmp4: { ext: 'mmp4', version: 2 },
// qmcflac / qmcogg: // qmcflac / qmcogg:
// 有可能是 v2 加密但混用同一个后缀名。 // 有可能是 v2 加密但混用同一个后缀名。