home | fix mpv to use system yt-dlp vs from pip

This commit is contained in:
Don Harper 2024-01-05 10:31:47 -06:00
parent de16c10d4b
commit b7b103438b
2 changed files with 3 additions and 1 deletions

View file

@ -2,6 +2,7 @@
{
programs.mpv = {
enable = true;
package = pkgs.wrapMpv (pkgs.mpv-unwrapped.override { vapoursynthSupport = true; }) { youtubeSupport = true; };
config = {
cache-on-disk = "yes";
cache = "yes";
@ -15,7 +16,7 @@
ytdl-format = "bestvideo+bestaudio";
ytdl-raw-options = "no-playlist=";
ytdl = "yes";
script-opts = "ytdl_hook-ytdl_path=${pkgs.mpv}/bin/yt-dlp";
script-opts = "ytdl_hook-ytdl_path=/etc/profiles/per-user/don/bin/yt-dlp";
#scripts = [ pkgs.mpvScripts.autoload ];
};
profiles = {

View file

@ -71,6 +71,7 @@
thunderbird
victor-mono
widevine-cdm
yt-dlp
];
xdg = {
mimeApps = {