修正emby代理验证key为undefined的问题

This commit is contained in:
mtvpls
2026-03-04 21:31:55 +08:00
parent 4da312e8c7
commit a2ac524778
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -481,6 +481,7 @@ export class EmbyClient {
}
async getStreamUrl(itemId: string, direct = true, forceDirectUrl = false): Promise<string> {
await this.ensureAuthenticated();
const token = this.apiKey || this.authToken;
// 如果启用了代理播放且不是强制获取直接URL,返回代理URL