diff --git a/README.MD b/README.MD index a4bf540..537a856 100644 --- a/README.MD +++ b/README.MD @@ -77,6 +77,14 @@ php 5.4+, curl_exec, file_get_contents, json_decode, openssl_encrypt ### 更新日志 ----- +#### v2.4 `2018/3/11` +- 修复网易云音乐无法播放 +- 增加标题栏滚动效果(感谢@lzcykevin) +- 增加歌曲循环播放控制(感谢@yuxizhe) +- 修复百度音乐无法播放 +- 优化连续播放失败的歌曲过多时,自动终止播放。防止卡死 +- 压缩图片素材,限制封面图片尺寸,优化页面加载速度 + #### v2.32 `2017/9/15` - 修复播放历史记录歌曲时播放失败的 BUG - 新增播放歌曲时浏览器标题栏显示相关信息 diff --git a/api.php b/api.php index e48a518..1451be2 100644 --- a/api.php +++ b/api.php @@ -1,9 +1,9 @@ url($id); + if($source == 'netease' && json_decode($data, true)['url'] == '') { // 修复网易云链接获取失效(双保险) + echojson('{"url":"https://music.163.com/song/media/outer/url?id='.$id.'.mp3","br":320}'); + return; + } + echojson($data); break; diff --git a/images/album_cover_player.png b/images/album_cover_player.png index 19a008b..882f9b5 100644 Binary files a/images/album_cover_player.png and b/images/album_cover_player.png differ diff --git a/images/history.png b/images/history.png index ecaa7e8..18b0867 100644 Binary files a/images/history.png and b/images/history.png differ diff --git a/images/icon_list_menu.png b/images/icon_list_menu.png index 951efed..0fe907a 100644 Binary files a/images/icon_list_menu.png and b/images/icon_list_menu.png differ diff --git a/images/player.png b/images/player.png index a869b7b..61a0fef 100644 Binary files a/images/player.png and b/images/player.png differ diff --git a/images/player_cover.png b/images/player_cover.png index 5bf2690..30ef9fd 100644 Binary files a/images/player_cover.png and b/images/player_cover.png differ diff --git a/index.html b/index.html index 5a3c5bc..0b61085 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,7 @@ -