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

Re-enable youtube-dl on macOS plus mpv and IINA #381

Merged
merged 2 commits into from Jan 23, 2021
Merged

Conversation

albertosottile
Copy link
Member

This is a follow-up to #279. In principle, this issue should have been solved in c07206c and #360. However, a mixture of changes in the way Homebrew installs youtube-dl, plus a mistake in which the environment was (not) transferred to the relevant subprocess, still caused it to show up in 1.6.7.

This PR re-enables the environment patching on macOS and, additionally, slightly modifies how the environment is patched to make this functional also on the arm64 architecture. Credits to @cordelac for having tested this on their machine.

Please test if this affects running mpv on Windows and Linux in any way before merging.

Closes: #379

Copy link
Contributor

@Et0h Et0h left a comment

Choose a reason for hiding this comment

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

I tested this on Windows and could use youtube-dl with mpv and mpv.net without issue, so at the very least it doesn't seem to have broken anything on Windows.

@Et0h Et0h requested a review from daniel-123 January 23, 2021 11:50
@albertosottile albertosottile merged commit 03cde67 into master Jan 23, 2021
@daniel-123 daniel-123 deleted the ytdl-done branch August 26, 2021 17:57
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.

youtube-dl not working when running syncplay with iina or mpv
3 participants