mpv: Make ytdl-hook use yt-dlp

neomutt
Simon Bruder 2021-10-09 22:55:19 +02:00
parent 76afcc4127
commit 2af32e4932
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 5 additions and 0 deletions

View File

@ -246,6 +246,11 @@ in
'';
home.file."${config.xdg.cacheHome}/thumbnails/mpv/.create".text = "";
# Make ytdl-hook use yt-dlp
xdg.configFile."mpv/script-opts/ytdl_hook.conf".text = ''
ytdl_path=${pkgs.unstable.yt-dlp}/bin/yt-dlp
'';
xdg.configFile."mpv/script-opts/stats.conf".text = ''
font=DINW07-Regular
font_mono=DINW07-Regular