From 97b741cf56d3f65366a4b66535ba7eca0eaa7c4d Mon Sep 17 00:00:00 2001 From: AskaEth Date: Wed, 2 Sep 2026 02:48:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(ncm):=20=E6=92=AD=E6=94=BE=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E6=8E=A5=E9=80=9A=20auto=5Fav=EF=BC=88300=20=E7=9A=84?= =?UTF-8?q?=E9=99=8D=E7=BA=A7=E9=93=BE=E6=8E=A5=E7=BA=BF=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E3=80=8CSQ=20=E8=A2=AB=E8=B7=B3=E8=BF=87=E6=8E=89=E6=A0=87?= =?UTF-8?q?=E5=87=86=E3=80=8D=E7=9C=9F=E6=9C=BA=E8=B7=AF=E5=BE=84=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- patch_v2/ncm_app/app/play/player_manager.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/patch_v2/ncm_app/app/play/player_manager.c b/patch_v2/ncm_app/app/play/player_manager.c index 830bbb9..fbb34a0 100644 --- a/patch_v2/ncm_app/app/play/player_manager.c +++ b/patch_v2/ncm_app/app/play/player_manager.c @@ -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);