Skip to content
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

chore: remove old rtmpdump/subprocess CLI args #3349

Merged

Conversation

bastimeyer
Copy link
Member

@bastimeyer bastimeyer commented Nov 19, 2020

and remove compat key name translations in the Session options.

Removes the following CLI arguments:

  • --rtmpdump-proxy (use --rtmp-proxy instead)
  • -c / --cmdline (use --subprocess-cmdline instead)
  • -e / --errorlog (use --subprocess-errorlog instead)
  • --errorlog-path (use --subprocess-errorlog-path instead)

Keeps --rtmpdump as a fallback for --rtmp-rtmpdump, as the default
streamlinkrc config file of the Windows installer is still using the
old parameter name.


#3235 (comment)

@bastimeyer bastimeyer mentioned this pull request Nov 19, 2020
25 tasks
@back-to
Copy link
Collaborator

back-to commented Nov 19, 2020

--rtmpdump is used in streamlinkrc

https://github.com/streamlink/streamlink/blob/1.7.0/win32/streamlinkrc#L48-L51

would be bad removing this

@bastimeyer
Copy link
Member Author

Would it make sense adding a suppressed argparse argument for this and dealing with this in streamlink_cli.main.setup_options, so that the --rtmpdump argument doesn't appear in the docs?

Btw, the entire streamlinkrc file desperately needs an overhaul.

@back-to
Copy link
Collaborator

back-to commented Nov 19, 2020

Would it make sense adding a suppressed argparse argument

might be the best solution, the command itself doesn't even need to work as --rtmp-rtmpdump

as long as we don't need to deal with streamlink: error: unrecognized arguments: --rtmpdump

and remove compat key name translations in the Session options.

Removes the following CLI arguments:
- `--rtmpdump-proxy` (use `--rtmp-proxy` instead)
- `-c` / `--cmdline` (use `--subprocess-cmdline` instead)
- `-e` / `--errorlog` (use `--subprocess-errorlog` instead)
- `--erorlog-path` (use `--subprocess-errorlog-path` instead)

Keeps `--rtmpdump` as a fallback for `--rtmp-rtmpdump`, as the default
streamlinkrc config file of the Windows installer is still using the
old parameter name.
@bastimeyer bastimeyer force-pushed the compat-removal/session-options branch from 3be1a84 to 2c33a88 Compare November 19, 2020 18:01
@back-to back-to merged commit bd86ab7 into streamlink:master Nov 19, 2020
@bastimeyer bastimeyer deleted the compat-removal/session-options branch January 19, 2021 23:16
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.

2 participants