fix(ncm): 播放路径接通 auto_av(300 的降级链接线,修「SQ 被跳过掉标准」真机路径)
This commit is contained in:
1 parent
33414de7c4
commit
97b741cf56
1 file changed
+3
-2
@@ -322,10 +322,11 @@ static int song_download_attempt(const ncm_song_t *s, int idx, int seq, const ch
|
||||
{
|
||||
const char *id = s->id;
|
||||
ss->resume_base = 0; ss->skip = 0; ss->need_fresh = 0; ss->first_body = 1; /* 每次尝试干净 */
|
||||
/* 播放地址:用户档已在调用方按会员钳顶,此处逐档降级,接受 mp3 与 flac */
|
||||
/* 播放地址:账户/fee 感知降级(auto_av 链内钳顶+门槛跳档+fee 门禁,300 修复) */
|
||||
ncm_play_url_t u;
|
||||
int eff = -1;
|
||||
int rc = ncm_api_song_url_auto(g_st.ctx.device_id, g_st.ctx.cookie, id, want, &u, &eff);
|
||||
int rc = ncm_api_song_url_auto_av(g_st.ctx.device_id, g_st.ctx.cookie, id,
|
||||
account_vip(), s->fee, want, &u, &eff);
|
||||
if (rc != NCM_OK) return rc;
|
||||
if (!u.url[0]) return NCM_ERR_NOTFOUND;
|
||||
pthread_mutex_lock(&g_play.mu);
|
||||
|
||||
Reference in new issue
Block a user