forked from um/web
Add tips for qmcogg
This commit is contained in:
parent
497a63486d
commit
d91f48aa70
@ -7,7 +7,7 @@
|
||||
|
||||
## Features
|
||||
- [x] Unlock in browser 在浏览器中解锁
|
||||
- [x] QQMusic File QQ音乐文件 (.qmc0/.qmc3/.qmcflac)
|
||||
- [x] QQMusic File QQ音乐文件 (.qmc0/.qmc3/.qmcflac/.qmcogg)
|
||||
- [x] Netease File 网易云音乐文件 (.ncm)
|
||||
- [x] Drag and Drop 拖放文件
|
||||
- [x] Play instantly 在线播放
|
||||
|
@ -69,7 +69,7 @@
|
||||
<el-footer id="app-footer">
|
||||
<el-row>
|
||||
音乐解锁:移除已购音乐的加密保护。
|
||||
目前支持网易云音乐(ncm)和QQ音乐(qmc0, qmc3, qmcflac)。
|
||||
目前支持网易云音乐(ncm)和QQ音乐(qmc0, qmc3, qmcflac, qmcogg)。
|
||||
<a href="https://github.com/ix64/unlock-music/wiki/使用提示" target="_blank">使用提示</a>
|
||||
</el-row>
|
||||
<el-row>
|
||||
|
@ -11,7 +11,8 @@ const SEED_MAP = [
|
||||
[0x00, 0x09, 0x5b, 0x9f, 0x62, 0x66, 0xa1]];
|
||||
const audio_mime_type = {
|
||||
mp3: "audio/mpeg",
|
||||
flac: "audio/flac"
|
||||
flac: "audio/flac",
|
||||
ogg: "audio/ogg"
|
||||
};
|
||||
|
||||
async function Decrypt(file) {
|
||||
@ -21,9 +22,11 @@ async function Decrypt(file) {
|
||||
switch (filename_ext) {
|
||||
case "qmc0":
|
||||
case "qmc3":
|
||||
case "qmcogg":
|
||||
new_ext = "mp3";
|
||||
break;
|
||||
case "qmcogg":
|
||||
new_ext = "ogg";
|
||||
break;
|
||||
case "qmcflac":
|
||||
new_ext = "flac";
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user