forked from um/web
Merge pull request #97 from qq1010903229/patch-1
Merge pull request #97 增加对QQ音乐微云网盘格式的支持
This commit is contained in:
commit
be09790810
@ -41,6 +41,11 @@ export async function CommonDecrypt(file) {
|
|||||||
case "bkcflac"://Moo Music Flac
|
case "bkcflac"://Moo Music Flac
|
||||||
case "mflac"://QQ Music Desktop Flac
|
case "mflac"://QQ Music Desktop Flac
|
||||||
case "mgg": //QQ Music Desktop Ogg
|
case "mgg": //QQ Music Desktop Ogg
|
||||||
|
case "666c6163"://QQ Music Weiyun Flac
|
||||||
|
case "6d7033"://QQ Music Weiyun Mp3
|
||||||
|
case "6f6767"://QQ Music Weiyun Ogg
|
||||||
|
case "6d3461"://QQ Music Weiyun M4a
|
||||||
|
case "776176"://QQ Music Weiyun Wav
|
||||||
rt_data = await QmcDecrypt.Decrypt(file.raw, raw_filename, raw_ext);
|
rt_data = await QmcDecrypt.Decrypt(file.raw, raw_filename, raw_ext);
|
||||||
break;
|
break;
|
||||||
case "tm2":// QQ Music IOS M4a
|
case "tm2":// QQ Music IOS M4a
|
||||||
|
@ -29,7 +29,12 @@ const HandlerMap = {
|
|||||||
"qmcflac": {handler: QmcMaskGetDefault, ext: "flac", detect: false},
|
"qmcflac": {handler: QmcMaskGetDefault, ext: "flac", detect: false},
|
||||||
"bkcmp3": {handler: QmcMaskGetDefault, ext: "mp3", detect: false},
|
"bkcmp3": {handler: QmcMaskGetDefault, ext: "mp3", detect: false},
|
||||||
"bkcflac": {handler: QmcMaskGetDefault, ext: "flac", detect: false},
|
"bkcflac": {handler: QmcMaskGetDefault, ext: "flac", detect: false},
|
||||||
"tkm": {handler: QmcMaskGetDefault, ext: "m4a", detect: false}
|
"tkm": {handler: QmcMaskGetDefault, ext: "m4a", detect: false},
|
||||||
|
"666c6163": {handler: QmcMaskGetDefault, ext: "flac", detect: false},
|
||||||
|
"6d7033": {handler: QmcMaskGetDefault, ext: "mp3", detect: false},
|
||||||
|
"6f6767": {handler: QmcMaskGetDefault, ext: "ogg", detect: false},
|
||||||
|
"6d3461": {handler: QmcMaskGetDefault, ext: "m4a", detect: false},
|
||||||
|
"776176": {handler: QmcMaskGetDefault, ext: "wav", detect: false}
|
||||||
};
|
};
|
||||||
|
|
||||||
export async function Decrypt(file, raw_filename, raw_ext) {
|
export async function Decrypt(file, raw_filename, raw_ext) {
|
||||||
|
Loading…
Reference in New Issue
Block a user