1
0
forked from um/web

fix(QMCv2): .mggl .mgg0

(cherry picked from commit f7b5e25277678ae0f78a186aaf2fa76fee86173f)
This commit is contained in:
MengYX 2022-01-21 11:38:58 +08:00
parent 3d8c0c8304
commit 99926a752e
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 'mgg': //QQ Music New Ogg
case 'mgg1': //QQ Music New Ogg
case 'mgg0':
case '666c6163': //QQ Music Weiyun Flac
case '6d7033': //QQ Music Weiyun Mp3
case '6f6767': //QQ Music Weiyun Ogg

View File

@ -13,6 +13,8 @@ interface Handler {
export const HandlerMap: { [key: string]: Handler } = {
mgg: { ext: 'ogg', version: 2 },
mgg0: { ext: 'ogg', version: 2 },
mggl: { ext: 'ogg', version: 2 },
mgg1: { ext: 'ogg', version: 2 },
mflac: { ext: 'flac', version: 2 },
mflac0: { ext: 'flac', version: 2 },