Skip to content

cli.output: replace MPV player title parameter #3405

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 10, 2020

Conversation

bastimeyer
Copy link
Member

Replace MPV's --title parameter with --force-media-title, as it also
changes the name of the playlist item and not just the window title.


See #3231 (comment)

Also changed the content of some test assertions in one go, as they were not testing the entire player argument logic (subprocess.list2cmdline on Windows).

Replace MPV's `--title` parameter with `--force-media-title`, as it also
changes the name of the playlist item and not just the window title.
@gravyboat
Copy link
Member

Hmm, do we have to consider this a breaking change? I don't think so since it's only when the title is not set, but it could be problematic if anyone is hooking in.

@bastimeyer
Copy link
Member Author

do we have to consider this a breaking change?

No, this doesn't change anything Streamlink related. User-provided player args get appended to the player args list/string, so there's nothing to worry about here.

@gravyboat gravyboat merged commit 83fb57c into streamlink:master Dec 10, 2020
@bastimeyer bastimeyer deleted the cli/player-title/mpv branch January 19, 2021 23:18
@bastimeyer bastimeyer mentioned this pull request Nov 23, 2021
4 tasks
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.

2 participants