Browse Source

feat: added support for mmp4 extension

20230320
Jixun 2 years ago
parent
commit
eb3091052e
  1. 1
      src/decrypt/index.ts
  2. 1
      src/decrypt/qmc.ts

1
src/decrypt/index.ts

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

1
src/decrypt/qmc.ts

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

Loading…
Cancel
Save