From 9cfc894c862689cd6044c2d2394b89f201c4d301 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Fri, 9 Dec 2022 13:40:49 +0200 Subject: [PATCH] Use yt-dlp with mpv --- home/.config/mpv/mpv.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home/.config/mpv/mpv.conf b/home/.config/mpv/mpv.conf index 2800d299..fc3dff87 100644 --- a/home/.config/mpv/mpv.conf +++ b/home/.config/mpv/mpv.conf @@ -77,7 +77,7 @@ osd-bar-w=60 # width of " " " osd-shadow-color="#11000000" osd-fractions -# Protocol specific configuration +# Protocol specific configuration [protocol.https] cache=yes user-agent='Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0' @@ -108,3 +108,5 @@ ytdl-format="bestvideo[height<=720]+bestaudio/best[height<=720]" ytdl-format="bestvideo[height<=2160]+bestaudio/best[height<=2160]" [best] ytdl-format="bestvideo+bestaudio" + +script-opts-append=ytdl_hook-ytdl_path=yt-dlp