Skip to content
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

修复20分钟后播放问题;修复切换歌单时可能出现的切歌失败问题 #769

Merged
merged 5 commits into from
Nov 22, 2018

Conversation

anhoder
Copy link
Contributor

@anhoder anhoder commented Nov 21, 2018

添加了数据字段,所以需要删除旧版本的数据文件~/.netease-musicbox/database.json

1、网易云音乐API获取的MP3 URL存在expires=1200的有效期,也就是说20分钟后,MP3 URL将会失效。在不刷新URL的情况下,20分钟后会出现一直切歌的问题。

解决:播放失败时,判断MP3 URL是否失效,失效则获取新的MP3 URL,未失效则为版权问题。(

2、切换歌单时可能出现的切换不成功问题。如:当前播放歌曲为歌单1的第3首,想切换至歌单2的第3首时(歌曲在各自歌单的位置都为3),会出现UI歌名发生变化,歌曲却暂停播放、未切换的问题。

解决:添加判定条件。

@kigawas kigawas merged commit efd4cbc into darknessomi:master Nov 22, 2018
@onichandame
Copy link

20分钟后一直切歌的问题没有消失。
20分钟后提示版权受限,当前歌曲快进至结束,切至下一首,无限循环。过几秒钟开始有正常播放音乐的声音,但无限快进切歌发出的噪音仍然存在。电脑慢慢卡死。

在登陆个人帐号的过程中出现过一次在登陆页面等待了2分钟后再输入帐号密码,出现乱码,正常页面无法显示,只能C-c强制退出。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants