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

Replace youtube-dl with a fork #9093

Closed
NoakPalander opened this issue Aug 7, 2021 · 7 comments
Closed

Replace youtube-dl with a fork #9093

NoakPalander opened this issue Aug 7, 2021 · 7 comments

Comments

@NoakPalander
Copy link

Expected behavior of the wanted feature

For it to be able to play age restricted videos by running e.g mpv https://youtube.com/etc/etc. Currently doesn't work with youtube-dl that mpv relies on, however there's a fork called yt-dlp on github that solves this.

@sfan5
Copy link
Member

sfan5 commented Aug 7, 2021

You can already change the executable mpv calls to yt-dlp, there's nothing we have to do for this to work.
duplicate of #8665

@sfan5 sfan5 closed this as completed Aug 7, 2021
@snylonue
Copy link

snylonue commented Aug 7, 2021

try --ytdl_path though I don't know if it will work

@garoto
Copy link
Contributor

garoto commented Aug 7, 2021

It's a script-opt: --script-opts=ytdl_hook-ytdl_path=yt-dlp

@NoakPalander
Copy link
Author

Was unaware that it was a duplicate, sorry for that. And also thank you for pointing out the script-opt flag.

@mradalbert
Copy link

youtube-dl maintainers went silent for 3 months and developement is non existent right now. Many users and devs migrated to yt-dlp already, so it would be preferable if mpv at least tried to use yt-dlp in absence of youtube-dl by default without need of modifying scripts by user, as future of youtube-dl it uncertain at this point.

@mradalbert
Copy link

ytdl-org/youtube-dl#29753

@mradalbert
Copy link

Linux users can install mpv + yt-dlp using GUI package manager (yt-dlp is at least in Arch User Repository) and modifying scripts or installing additional wrapper worsens experience for new/inexperienced users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants