fix(qq): verify sidecar ports and validate batch playback results

This commit is contained in:
TIANYAO ZHANG committed 2026-11-18 18:31:19 +08:00
1 parent 5c2a9468bd
commit e5470b6b78
11 files changed
+224 -36

No files matched your search

+1 -1
View File
@@ -88,7 +88,7 @@ async function main() {
const qqSession = (process.env.QQ_MUSIC_MANAGED_SESSION ?? "1") === "1" && isProviderEnabled(config, "qq")
? new QQManagedSession(createQqLoginClient(), qqStore, logger)
: undefined;
const qqProvider = new QQMusicProvider(apiServer.getQQMusicBaseUrl(), qqSession);
const qqProvider = new QQMusicProvider(apiServer.getQQMusicBaseUrl(), qqSession, apiServer.assertQqMusicApiPort);
if (!qqSession) {
try {
const cookie = cookieStore.load("qq");