diff options
author | lassulus <lassulus@lassul.us> | 2021-10-24 19:53:43 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-10-24 20:03:11 +0200 |
commit | 9a74f25e56b940748950eab0d8b1e0bc95d5f95d (patch) | |
tree | 7d6c8ca6919d1a35fcba99978f8ea06f5f9ca42d | |
parent | 6e61a2d9fca6cf8d13f5e9be9345dfe861b9022e (diff) |
l mpv: use yt-dlp
-rw-r--r-- | lass/2configs/mpv.nix | 7 |
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 ]; |