mpv: Use yt-dlp

This commit is contained in:
Sijmen 2022-11-01 01:32:23 +01:00
parent 3750078491
commit 52391b1f9e
Signed by: vijfhoek
GPG Key ID: DAF7821E067D9C48
2 changed files with 14 additions and 1 deletions

View File

@ -143,6 +143,20 @@
source ${pkgs.fetchurl { url = "https://raw.githubusercontent.com/rupa/z/v1.11/z.sh"; sha256 = "f24e0791ba10f6a8301461da3fc50333eee2e009a19e5d0e9f3661f0d0446767"; }}
'';
};
mpv = {
enable = true;
config = {
script-opts = "ytdl_hook-ytdl_path=${pkgs.yt-dlp}/bin/yt-dlp";
};
};
yt-dlp = {
enable = true;
settings = {
sponsorblock-mark = "sponsor,selfpromo,intro,outro,poi_highlight";
};
};
};
services.gpg-agent = {

View File

@ -32,7 +32,6 @@
# Sound & Video
easyeffects
mpv
spotify
# Gaming