From 83b43034ef0bbde3b84f077d8b5df78215dc7e57 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 22 Sep 2026 15:21:38 +0000 Subject: [PATCH] Remove streamlink flags removed in 6.0 that break capture --twitch-disable-hosting, --twitch-disable-ads, and --twitch-disable-reruns were all removed in streamlink 6.0. requirements.txt pins streamlink>=8.0.0, so streamlink exits immediately with code 1 on unrecognized arguments, which is why capture always fails with "no streams available" one second after start. Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_018ynVqCD9HyYB2nSqpTUwFa --- server/src/Core/Providers/Twitch/TwitchAutomator.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/server/src/Core/Providers/Twitch/TwitchAutomator.ts b/server/src/Core/Providers/Twitch/TwitchAutomator.ts index 8167af33..e8277d84 100644 --- a/server/src/Core/Providers/Twitch/TwitchAutomator.ts +++ b/server/src/Core/Providers/Twitch/TwitchAutomator.ts @@ -652,9 +652,6 @@ export class TwitchAutomator extends BaseAutomator { public providerArgs(): string[] { const cmd = []; - // disable channel hosting - cmd.push("--twitch-disable-hosting"); - if ( fs.existsSync( path.join(BaseConfigDataFolder.config, "twitch_oauth.txt") @@ -675,14 +672,6 @@ export class TwitchAutomator extends BaseAutomator { cmd.push("--twitch-low-latency"); } - // Skip embedded advertisement segments at the beginning or during a stream - if (Config.getInstance().cfg("disable_ads", false)) { - cmd.push("--twitch-disable-ads"); - } - - // disable reruns - cmd.push("--twitch-disable-reruns"); - // one custom api header if (Config.getInstance().hasValue("capture.twitch-api-header")) { cmd.push(