修复企鹅音乐搜索歌曲没有结果的问题
parent
247a322366
commit
cc4cb1a6a7
|
@ -1,21 +1,4 @@
|
||||||
lx music移动端已经发布了,使用习惯仍跟桌面版一样,不过功能、界面仍比较简单,有兴趣的可以去体检一下,项目地址:
|
|
||||||
https://github.com/lyswhut/lx-music-mobile#readme
|
|
||||||
|
|
||||||
### 新增
|
|
||||||
|
|
||||||
- 排行榜界面添加播放、收藏整个排行榜功能,可以右击排行榜名字后,在弹出的右键菜单中使用。注:收藏、播放存在分页的排行榜时需等待操作完成后才能切换排行榜,不然会导致操作中断。
|
|
||||||
- 新增Mac arm64位dmg包的构建
|
|
||||||
|
|
||||||
### 修复
|
### 修复
|
||||||
|
|
||||||
- 修复全局快捷键对桌面歌词无效的问题
|
- 修复企鹅音乐搜索歌曲没有结果的问题
|
||||||
- 修复快捷键设置框内的提示问题
|
- 修复播放在空的歌单列表点击播放全部时报错的问题
|
||||||
- 修复在当前正常播放的列表中使用稍后播放功能时,播放完后稍后播放的歌曲后不会恢复原来播放位置播放的问题
|
|
||||||
- 修复kw部分歌单无法打开的问题
|
|
||||||
- 修复wy源的歌曲音质匹配问题
|
|
||||||
- 修复mg源歌单标签、排行榜歌曲列表无法加载的问题
|
|
||||||
- 修复了一个歌曲下载失败时不会跳过任务的问题
|
|
||||||
|
|
||||||
### 其他
|
|
||||||
|
|
||||||
- 更新 Electron 到 12.0.8
|
|
||||||
|
|
|
@ -15,7 +15,8 @@ export default {
|
||||||
musicSearch(str, page, limit, retryNum = 0) {
|
musicSearch(str, page, limit, retryNum = 0) {
|
||||||
if (searchRequest && searchRequest.cancelHttp) searchRequest.cancelHttp()
|
if (searchRequest && searchRequest.cancelHttp) searchRequest.cancelHttp()
|
||||||
if (retryNum > 5) return Promise.reject(new Error('搜索失败'))
|
if (retryNum > 5) return Promise.reject(new Error('搜索失败'))
|
||||||
searchRequest = httpFetch(`https://c.y.qq.com/soso/fcgi-bin/client_search_cp?ct=24&qqmusic_ver=1298&new_json=1&remoteplace=sizer.yqq.song_next&searchid=49252838123499591&t=0&aggr=1&cr=1&catZhida=1&lossless=0&flag_qc=0&p=${page}&n=${limit}&w=${encodeURIComponent(str)}&loginUin=0&hostUin=0&format=json&inCharset=utf8&outCharset=utf-8¬ice=0&platform=yqq&needNewCode=0`)
|
// searchRequest = httpFetch(`https://c.y.qq.com/soso/fcgi-bin/client_search_cp?ct=24&qqmusic_ver=1298&new_json=1&remoteplace=sizer.yqq.song_next&searchid=49252838123499591&t=0&aggr=1&cr=1&catZhida=1&lossless=0&flag_qc=0&p=${page}&n=${limit}&w=${encodeURIComponent(str)}&loginUin=0&hostUin=0&format=json&inCharset=utf8&outCharset=utf-8¬ice=0&platform=yqq&needNewCode=0`)
|
||||||
|
searchRequest = httpFetch(`https://c.y.qq.com/soso/fcgi-bin/client_search_cp?ct=24&qqmusic_ver=1298&new_json=1&remoteplace=txt.yqq.top&searchid=1&aggr=1&cr=1&catZhida=1&lossless=0&flag_qc=0&p=${page}&n=${limit}&w=${encodeURIComponent(str)}&cv=4747474&ct=24&format=json&inCharset=utf-8&outCharset=utf-8¬ice=0&platform=yqq.json&needNewCode=0&uin=0&hostUin=0&loginUin=0`)
|
||||||
// searchRequest = httpFetch(`http://ioscdn.kugou.com/api/v3/search/song?keyword=${encodeURIComponent(str)}&page=${page}&pagesize=${this.limit}&showtype=10&plat=2&version=7910&tag=1&correct=1&privilege=1&sver=5`)
|
// searchRequest = httpFetch(`http://ioscdn.kugou.com/api/v3/search/song?keyword=${encodeURIComponent(str)}&page=${page}&pagesize=${this.limit}&showtype=10&plat=2&version=7910&tag=1&correct=1&privilege=1&sver=5`)
|
||||||
return searchRequest.promise.then(({ body }) => {
|
return searchRequest.promise.then(({ body }) => {
|
||||||
if (body.code !== this.successCode) return this.musicSearch(str, page, limit, ++retryNum)
|
if (body.code !== this.successCode) return this.musicSearch(str, page, limit, ++retryNum)
|
||||||
|
|
Loading…
Reference in New Issue