New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请添加 320Kbps 音频支持 #5

Closed
legendtang opened this Issue May 3, 2015 · 7 comments

Comments

Projects
None yet
4 participants
@legendtang

https://github.com/darknessomi/musicbox/blob/master/NEMbox/api.py

建议看一下这位修改版的 encrypted_id 实现,原作者好像去掉了

@wu-nerd

This comment has been minimized.

Show comment
Hide comment
@wu-nerd

wu-nerd May 3, 2015

Owner

很多被要求删除的repo都用到这个加密算法
如:https://www.v2ex.com/t/131959https://www.v2ex.com/t/123375

为了保证项目长久存活,这个加密算法我不会加入
但我会对相关代码进行调整,需要320K请自行实现
320K加密算法:
https://github.com/yanunon/NeteaseCloudMusic/wiki/%E7%BD%91%E6%98%93%E4%BA%91%E9%9F%B3%E4%B9%90API%E5%88%86%E6%9E%90#5-%E4%B8%8B%E8%BD%BD%E9%9F%B3%E4%B9%90%E6%96%87%E4%BB%B6

Owner

wu-nerd commented May 3, 2015

很多被要求删除的repo都用到这个加密算法
如:https://www.v2ex.com/t/131959https://www.v2ex.com/t/123375

为了保证项目长久存活,这个加密算法我不会加入
但我会对相关代码进行调整,需要320K请自行实现
320K加密算法:
https://github.com/yanunon/NeteaseCloudMusic/wiki/%E7%BD%91%E6%98%93%E4%BA%91%E9%9F%B3%E4%B9%90API%E5%88%86%E6%9E%90#5-%E4%B8%8B%E8%BD%BD%E9%9F%B3%E4%B9%90%E6%96%87%E4%BB%B6

@legendtang

This comment has been minimized.

Show comment
Hide comment
@legendtang

legendtang May 3, 2015

支持。按你说的把代码进一步模块化吧,这样调用加密方法比较方便

支持。按你说的把代码进一步模块化吧,这样调用加密方法比较方便

@wu-nerd

This comment has been minimized.

Show comment
Hide comment
@wu-nerd

wu-nerd May 7, 2015

Owner

已失效

0bd020b

在播放歌曲时,neteasecloudmusic/netease_music_browser.py中的get_better_quality_music函数
会尝试调用neteasecloudmusic文件夹下的encrypted.py文件中的encrypted_id(id)函数,
获取320K码率的URL,失败则依次尝试160K/96K码率

要播放高码率音乐,只需要手动在neteasecloudmusic文件夹下新建encrypted.py,包含encrypted_id(id)函数
具体代码可以参照https://github.com/yanunon/NeteaseCloudMusic/wiki/%E7%BD%91%E6%98%93%E4%BA%91%E9%9F%B3%E4%B9%90API%E5%88%86%E6%9E%90#5-%E4%B8%8B%E8%BD%BD%E9%9F%B3%E4%B9%90%E6%96%87%E4%BB%B6

Owner

wu-nerd commented May 7, 2015

已失效

0bd020b

在播放歌曲时,neteasecloudmusic/netease_music_browser.py中的get_better_quality_music函数
会尝试调用neteasecloudmusic文件夹下的encrypted.py文件中的encrypted_id(id)函数,
获取320K码率的URL,失败则依次尝试160K/96K码率

要播放高码率音乐,只需要手动在neteasecloudmusic文件夹下新建encrypted.py,包含encrypted_id(id)函数
具体代码可以参照https://github.com/yanunon/NeteaseCloudMusic/wiki/%E7%BD%91%E6%98%93%E4%BA%91%E9%9F%B3%E4%B9%90API%E5%88%86%E6%9E%90#5-%E4%B8%8B%E8%BD%BD%E9%9F%B3%E4%B9%90%E6%96%87%E4%BB%B6

@legendtang

This comment has been minimized.

Show comment
Hide comment

Thanks!

@legendtang legendtang closed this May 7, 2015

legendtang added a commit to legendtang/dmusic-plugin-NeteaseCloudMusic that referenced this issue May 7, 2015

@wangzk

This comment has been minimized.

Show comment
Hide comment

wangzk commented May 11, 2015

Thanks!

@mawanglin2008

This comment has been minimized.

Show comment
Hide comment

Thanks

@wu-nerd

This comment has been minimized.

Show comment
Hide comment
@wu-nerd

wu-nerd Dec 17, 2016

Owner

该算法已经失效,会导致无法播放,删除即可

Owner

wu-nerd commented Dec 17, 2016

该算法已经失效,会导致无法播放,删除即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment