Repository navigation
Fix Twitch capture: remove streamlink flags removed in 6.0 - #4
Merged
Merged
Conversation
--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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.txtpinsstreamlink>=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 ondisable_adsconfig)Change
Deleted all three flag usages from
providerArgs()inTwitchAutomator.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