home | fix mpv to use system yt-dlp vs from pip
This commit is contained in:
parent
de16c10d4b
commit
b7b103438b
2 changed files with 3 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue