Skip to content

cli: fix --show-matchers ignoring lazy plugins #6361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 28, 2024

Conversation

bastimeyer
Copy link
Member

@bastimeyer bastimeyer commented Dec 28, 2024

Fixes #6360

$ cd $(mktemp -d)
$ python -m venv .
$ source ./bin/activate

$ pip install -U git+https://github.com/streamlink/streamlink.git@7.1.0 >/dev/null 2>&1
$ streamlink -V
streamlink 7.1.0
$ streamlink --show-matchers=twitch
error: Plugin not found

$ pip install -U git+https://github.com/bastimeyer/streamlink.git@cli/fix-show-matchers >/dev/null 2>&1
$ streamlink -V
streamlink 7.1.0+1.g11337165
$ streamlink --show-matchers=twitch
- name: live
  pattern: https?://(?:(?!clips\.)[\w-]+\.)?twitch\.tv/(?P<channel>(?!v(?:ideos?)?/|clip/)[^/?]+)/?(?:\?|$)
- name: vod
  pattern: https?://(?:[\w-]+\.)?twitch\.tv/(?:[\w-]+/)?v(?:ideos?)?/(?P<video_id>\d+)
- name: clip
  pattern: https?://(?:clips\.twitch\.tv|(?:[\w-]+\.)?twitch\.tv/(?:[\w-]+/)?clip)/(?P<clip_id>[^/?]+)
- name: player
  pattern: https?://player\.twitch\.tv/\?.+

@bastimeyer bastimeyer force-pushed the cli/fix-show-matchers branch from f474bef to 1133716 Compare December 28, 2024 17:04
@bastimeyer bastimeyer merged commit 3332fd0 into streamlink:master Dec 28, 2024
23 checks passed
@bastimeyer bastimeyer deleted the cli/fix-show-matchers branch December 28, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--show-matchers fails with lazy plugin loading
1 participant