Skip to content

cli: improve quoted player path warning #5757

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

Conversation

bastimeyer
Copy link
Member

Resolves #5756

@bastimeyer bastimeyer added the CLI label Jan 3, 2024
@bastimeyer bastimeyer requested a review from mkbloke January 3, 2024 22:59
@@ -235,8 +235,11 @@ def _open(self):
warnings.warn(
"\n".join([
"The --player argument has been changed and now only takes player path values:",
" Player paths with spaces don't have to be wrapped in quotation marks anymore.",
" Custom player arguments need to be set via --player-args.",
" Player paths with spaces must not be wrapped in additional quotation marks",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might sound pedantic (I'm just thinking about interpretation), but does this message mean paths without spaces can be wrapped in quotation marks?

Would it be better if it just read:

Player paths must not be wrapped in quotation marks?

@bastimeyer bastimeyer force-pushed the cli/output/update-quoted-player-path-warning branch from c137beb to 5dced40 Compare January 4, 2024 13:42
@bastimeyer bastimeyer merged commit 40765c7 into streamlink:master Jan 4, 2024
@bastimeyer bastimeyer deleted the cli/output/update-quoted-player-path-warning branch January 4, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Streamlink cannot find player executable on Windows 11
2 participants