MengYX
4 years ago
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604
3 changed files with
7 additions and
3 deletions
-
README.md
-
src/App.vue
-
src/decrypt/kgm.js
|
@ -19,7 +19,7 @@ |
|
|
- [x] 补全ncm的ID3信息 |
|
|
- [x] 补全ncm的ID3信息 |
|
|
- [x] 虾米音乐格式 (.xm) (测试阶段) |
|
|
- [x] 虾米音乐格式 (.xm) (测试阶段) |
|
|
- [x] 酷我音乐格式 (.kwm) (测试阶段) |
|
|
- [x] 酷我音乐格式 (.kwm) (测试阶段) |
|
|
- [ ] 酷狗音乐格式 (.kgm) ([Alpha测试](https://github.com/ix64/unlock-music/wiki/%E5%85%B6%E4%BB%96%E9%9F%B3%E4%B9%90%E6%A0%BC%E5%BC%8F%E5%B7%A5%E5%85%B7#%E9%85%B7%E7%8B%97%E9%9F%B3%E4%B9%90-kgmvpr%E8%A7%A3%E9%94%81%E5%B7%A5%E5%85%B7)) |
|
|
- [x] 酷狗音乐格式 (.kgm) ([CLI版本](https://github.com/ix64/unlock-music/wiki/%E5%85%B6%E4%BB%96%E9%9F%B3%E4%B9%90%E6%A0%BC%E5%BC%8F%E5%B7%A5%E5%85%B7#%E9%85%B7%E7%8B%97%E9%9F%B3%E4%B9%90-kgmvpr%E8%A7%A3%E9%94%81%E5%B7%A5%E5%85%B7)) |
|
|
|
|
|
|
|
|
## 其他特性 |
|
|
## 其他特性 |
|
|
- [x] 在浏览器中解锁 |
|
|
- [x] 在浏览器中解锁 |
|
|
|
@ -41,10 +41,11 @@ |
|
|
<a href="https://github.com/ix64/unlock-music/wiki/使用提示" target="_blank">使用提示</a> |
|
|
<a href="https://github.com/ix64/unlock-music/wiki/使用提示" target="_blank">使用提示</a> |
|
|
</el-row> |
|
|
</el-row> |
|
|
<el-row> |
|
|
<el-row> |
|
|
目前支持网易云音乐(ncm), QQ音乐(qmc, mflac, mgg), 虾米音乐(xm), 酷我音乐(.kwm) |
|
|
目前支持网易云音乐(ncm), QQ音乐(qmc, mflac, mgg), 酷狗音乐(kgm), 虾米音乐(xm), 酷我音乐(.kwm) |
|
|
<a href="https://github.com/ix64/unlock-music/blob/master/README.md" target="_blank">更多</a>。 |
|
|
<a href="https://github.com/ix64/unlock-music/blob/master/README.md" target="_blank">更多</a>。 |
|
|
</el-row> |
|
|
</el-row> |
|
|
<el-row> |
|
|
<el-row> |
|
|
|
|
|
<!--如果进行二次开发,此行版权信息不得移除且应明显地标注于页面上--> |
|
|
<span>Copyright © 2019-</span><span v-text="(new Date()).getFullYear()"></span> MengYX |
|
|
<span>Copyright © 2019-</span><span v-text="(new Date()).getFullYear()"></span> MengYX |
|
|
音乐解锁使用 |
|
|
音乐解锁使用 |
|
|
<a href="https://github.com/ix64/unlock-music/blob/master/LICENSE" target="_blank">MIT许可协议</a> |
|
|
<a href="https://github.com/ix64/unlock-music/blob/master/LICENSE" target="_blank">MIT许可协议</a> |
|
|
|
@ -27,7 +27,10 @@ export async function Decrypt(file, raw_filename, raw_ext) { |
|
|
let audioData = oriData.slice(headerLen) |
|
|
let audioData = oriData.slice(headerLen) |
|
|
let dataLen = audioData.length |
|
|
let dataLen = audioData.length |
|
|
if (audioData.byteLength > 1 << 26) { |
|
|
if (audioData.byteLength > 1 << 26) { |
|
|
return {status: false, message: "文件过大,请使用CLI版本进行解锁"} |
|
|
return { |
|
|
|
|
|
status: false, |
|
|
|
|
|
message: "文件过大,请使用<a target='_blank' href='https://github.com/ix64/unlock-music/wiki/其他音乐格式工具'>CLI版本</a>进行解锁" |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
let key1 = new Uint8Array(17) |
|
|
let key1 = new Uint8Array(17) |
|
|