Compare commits

...

2 Commits

Author SHA1 Message Date
fe3bad5875 Merge pull request 'feat: added support for mmp4 extension' (#20) from jixunmoe/um-web:feat/qmc-new-ext-mmp4 into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #20
2022-11-27 14:34:07 +00:00
eb3091052e feat: added support for mmp4 extension
All checks were successful
continuous-integration/drone/pr Build is passing
2022-11-27 14:12:17 +00:00
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 '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

View File

@ -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 加密但混用同一个后缀名。