mpv: Make ytdl-hook use yt-dlp

This commit is contained in:
Simon Bruder 2021-10-09 22:55:19 +02:00
parent 76afcc4127
commit 2af32e4932
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -246,6 +246,11 @@ in
''; '';
home.file."${config.xdg.cacheHome}/thumbnails/mpv/.create".text = ""; 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 = '' xdg.configFile."mpv/script-opts/stats.conf".text = ''
font=DINW07-Regular font=DINW07-Regular
font_mono=DINW07-Regular font_mono=DINW07-Regular