fix(QMCv2): `.mggl` `.mgg0`

(cherry picked from commit f7b5e25277678ae0f78a186aaf2fa76fee86173f)
remotes/origin/HEAD
MengYX 3 years ago
parent 3d8c0c8304
commit 99926a752e

@ -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

@ -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 },

Loading…
Cancel
Save