Closed distrair closed 4 months ago
I have a few questions:
I have a few questions:
- Where is your yt-dlp.exe?
- Have you configured ytdl-hook related options in mpv.conf or yt-dlp.conf?
- Have you configured the ytdl path in mpv-handler's config.toml?
- Manually copying the mpv:// URL to mpv-handler.exe on the command line works fine, but not via the browser script?
script-opts=ytdl_hook-ytdl_path=yt-dlp
in mpv's config, same thingAlso, trying different browser doesn't help, same thing happens on chromium browsers and firefox based browsers.
Update: for some strange reason, adding ytdl-raw-options=extractor-args="youtube:player-client=android"
to a mpv.conf file fixes the problem, also this line fixes the seeking problem (if you had one)
When I try to play video using mpv-handler it just opens the terminal and that's it. When I copy the mpv:// url and paste it into the terminal, it works as expected. Heres the output of the mpv executable:
As you can see here, it gets stuck on yt-dlp, so i think problem with yt-dlp when I try to open a video through script.