From: qydysky Date: Wed, 22 May 2024 13:18:58 +0000 (+0000) Subject: Fix 配置“直播流不使用mcdn“失效 X-Git-Tag: v0.14.2~1 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=fbf8e89d06d98414ef04e5b33b2525e71fdc9859;p=bili_danmu%2F.git Fix 配置“直播流不使用mcdn“失效 --- diff --git a/F/api.go b/F/api.go index 09bb291..292e724 100644 --- a/F/api.go +++ b/F/api.go @@ -408,7 +408,7 @@ func (t *GetFunc) configStreamType(sts []struct { if _, ok := t.Qn[t.Live_qn]; !ok { apilog.L(`W: `, `未知的清晰度`, t.Live_qn) } - apilog.L(`T: `, fmt.Sprintf("使用 %d 条直播流 %s %s %s", len(t.Live), t.Qn[t.Live_qn], wantTypes[chosen].Format_name, wantTypes[chosen].Codec_name)) + apilog.L(`T: `, fmt.Sprintf("获取到 %d 条直播流 %s %s %s", len(t.Live), t.Qn[t.Live_qn], wantTypes[chosen].Format_name, wantTypes[chosen].Codec_name)) }() // 期望类型 @@ -466,7 +466,7 @@ func (t *GetFunc) configStreamType(sts []struct { } } - t.Live = append(t.Live, item) + t.Live = append(t.Live, &item) } // 已选定并设置好参数 退出