l mpv: use yt-dlp
This commit is contained in:
parent
6e61a2d9fc
commit
9a74f25e56
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user