fix(QMCv2): .mggl .mgg0

(cherry picked from commit f7b5e25277678ae0f78a186aaf2fa76fee86173f)
This commit is contained in:
MengYX 2022-01-21 11:38:58 +08:00
parent 08a6f1d946
commit 1f7ac44829
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604
2 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,7 @@ export async function Decrypt(file: FileInfo, config: Record<string, any>): Prom
case 'mflac0': //QQ Music New Flac case 'mflac0': //QQ Music New Flac
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 '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

@ -13,6 +13,8 @@ interface Handler {
export const HandlerMap: { [key: string]: Handler } = { export const HandlerMap: { [key: string]: Handler } = {
mgg: { ext: 'ogg', version: 2 }, mgg: { ext: 'ogg', version: 2 },
mgg0: { ext: 'ogg', version: 2 },
mggl: { ext: 'ogg', version: 2 },
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 },