Skip to content

Fix Twitch capture: remove streamlink flags removed in 6.0 - #4

Merged
second2falcon merged 1 commit into
masterfrom
claude/fix-streamlink-deprecated-flags
Sep 22, 2026
Merged

second2falcon merged 1 commit into
masterfrom
claude/fix-streamlink-deprecated-flags

Conversation

@second2falcon

Copy link
Copy Markdown
Owner

Problem

Twitch capture always fails immediately with "no streams available" and streamlink exits with code 1 one second after spawning.

Root cause: three streamlink flags removed in streamlink 6.0 are still being passed. Since requirements.txt pins streamlink>=8.0.0, streamlink rejects unrecognized arguments and exits immediately before capturing anything.

Removed flags:

  • --twitch-disable-hosting — Twitch removed the hosting feature; flag gone in streamlink 6.0
  • --twitch-disable-reruns — Twitch removed reruns; flag gone in streamlink 6.0
  • --twitch-disable-ads — removed from streamlink 6.0 (was conditional on disable_ads config)

Change

Deleted all three flag usages from providerArgs() in TwitchAutomator.ts. The remaining flags (--twitch-api-header, --twitch-low-latency, --twitch-access-token-param, --twitch-client-id) are still valid in streamlink 8.x.

https://claude.ai/code/session_018ynVqCD9HyYB2nSqpTUwFa


Generated by Claude Code

--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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ynVqCD9HyYB2nSqpTUwFa
@second2falcon
second2falcon merged commit 4ad59df into master Sep 22, 2026
1 check passed
@second2falcon
second2falcon deleted the claude/fix-streamlink-deprecated-flags branch October 4, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants