How to make youtube videos opened with mpv "url" use yt-dlp config file? I have…
- User
How to make youtube videos opened with
mpv "url"use yt-dlp config file? I have--sponsorblock-mark allin~/.config/yt-dlp/yt-dlp.conf, but it doesn't mark the sponrored segments. - Assistant
To use
yt-dlpwithmpvand respect the configurations set in youryt-dlp.conffile, you need to ensure thatmpvis actually usingyt-dlpfor extracting video URLs. By default,mpvmight useyoutube-dlor its own internal logic instead ofyt-dlp. Here's how you can make sure uses and respects your : - User
I forgot to mention that I do have
script-opts=ytdl_hook-ytdl_path=yt-dlpset in~/.config/mpv/mpv.conf - Assistant
- User
IS it possible to use sponsorblock when streaming via yt-dlp to mpv? Or is it only when downloading the file beforehand
- Assistant
Yes, it is possible to use SponsorBlock with
yt-dlpwhen streaming videos directly tompv. You don't need to download the entire video file first. Here's how you can achieve that:-
Ensure
yt-dlpConfiguration:Make sure your
yt-dlp.conffile has the SponsorBlock configuration enabled, which you already do with .
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.