summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-10-24 19:53:43 +0200
committerlassulus <lassulus@lassul.us>2021-10-24 20:03:11 +0200
commit9a74f25e56b940748950eab0d8b1e0bc95d5f95d (patch)
tree7d6c8ca6919d1a35fcba99978f8ea06f5f9ca42d /lass/2configs
parent6e61a2d9fca6cf8d13f5e9be9345dfe861b9022e (diff)
l mpv: use yt-dlp
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/mpv.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/lass/2configs/mpv.nix b/lass/2configs/mpv.nix
index 210551a62..854af3eb5 100644
--- a/lass/2configs/mpv.nix
+++ b/lass/2configs/mpv.nix
@@ -80,7 +80,12 @@ let
name = "mpv";
paths = [
(pkgs.writeDashBin "mpv" ''
- exec ${pkgs.mpv}/bin/mpv -vo=gpu --no-config --script=${autosub} "$@"
+ exec ${pkgs.mpv}/bin/mpv \
+ -vo=gpu \
+ --no-config \
+ --script=${autosub} \
+ --script-opts=ytdl_hook-ytdl_path=${pkgs.yt-dlp}/bin/yt-dlp \
+ "$@"
'')
pkgs.mpv
];