mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🔧 refactor:仅在开启自建解析API的情况下可进行高音质解析
This commit is contained in:
parent
59d2e272c5
commit
bdd382a3d9
@ -1685,8 +1685,8 @@ async neteaseStatus(e, reck) {
|
|||||||
const song = res.data.songs[0];
|
const song = res.data.songs[0];
|
||||||
return song?.al?.picUrl
|
return song?.al?.picUrl
|
||||||
});
|
});
|
||||||
// 一般这个情况是VIP歌曲 (如果没有url或者是国内,没有ck的走临时接口)
|
// 一般这个情况是VIP歌曲 (如果没有url或者是国内,公用接口暂时不可用,必须自建并且ck可用状态才能进行高质量解析)
|
||||||
if (!isCkExpired || url == null) {
|
if (!isCkExpired || !this.useLocalNeteaseAPI || url == null) {
|
||||||
url = await this.musicTempApi(e, title, "网易云音乐");
|
url = await this.musicTempApi(e, title, "网易云音乐");
|
||||||
} else {
|
} else {
|
||||||
// 拥有ck,并且有效,直接进行解析
|
// 拥有ck,并且有效,直接进行解析
|
||||||
|
Loading…
x
Reference in New Issue
Block a user