提供 joox 解密/meta 更新支持 #215
No reviewers
Labels
No Label
bug
dependencies
discuss
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
timeout
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: um/web-archived#215
Loading…
Reference in New Issue
No description provided.
Delete Branch "feature/joox-encryption"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
TODO:
问题:作为 unpacked chrome extension 加载时无法正确存储 joox uuid 信息。
chrome.storage 与 localStorage 均不可使用的样子,还需要调查。
需要添加
storage
权限在这个文件: https://github.com/unlock-music/unlock-music/blob/master/extension-manifest.json
ref: https://developer.chrome.com/docs/extensions/reference/storage/
好,我下班后实验看看,应该问题不大。
可以试下重新打包joox,打包为debug模式,这样就不用root就可以获取uuid
不过可以写到 wiki 内,将这个方法的优缺点都写进去。
确实,会变化,只能当作方法之一
卸载后 /sdcard/Android/ 下的东西都会删掉,肯定得重下
这个肯定没问题,不过一般应用都会进行反检测,也难处理
还是把各种方法和风险都写上去,让用户自己权衡做决定吧。
扩展页可以读取,但是扩展的 service worker 读不了设定。还是需要研究研究。
Chrome 扩展 + Worker 内读取设定搞定了。现在在解密的时候把设定格式化一下传给这个解密函数。
洋洋洒洒写了一堆内容,到时候把链接添加到设定窗口内。
获取设备 UUID · unlock-music/joox-crypto Wiki
https://github.com/unlock-music/unlock-music/discussions/212#discussioncomment-1844523
还有一种办法,清除数据后 首次启动的时 监控log
adb logcat -e "getOpenUUID
仅出现一次,但没啥风险
文档加入了监控方法。
加入了流媒体文件元信息的提取,复用了 QMC 里面的信息提取部分代码。
稍微优化了下这个界面,但是不清楚为什么无法显示自定义验证规则的提示信息。赶明再看吧。
现在可以对 joox 解密的曲目获得正确的 meta 信息了。
不使用 API 之前:告白气球是拼音且图片错误、Last Christmas 无法提供任何有效信息
加了一些基本的基准测试。感觉差不多可以合并了?还是再提升一下测试覆盖率?
我稍微看一下,就准备合并吧,暂时不追求覆盖率