home | add config for yt-dlp

This commit is contained in:
Don Harper 2024-01-08 22:44:44 -06:00
parent 005382f7a3
commit c71828c206

View file

@ -1,6 +1,7 @@
{ pkgs, ... }:
{
programs.mpv = {
programs = {
mpv = {
enable = true;
package = pkgs.wrapMpv (pkgs.mpv-unwrapped.override { vapoursynthSupport = true; }) { youtubeSupport = true; };
config = {
@ -29,4 +30,18 @@
};
};
};
yt-dlp = {
enable = true;
extraConfig =
''
--no-mtime
'';
settings = {
retries = "infinite";
fragment-retries = "infinite";
buffer-size = "16K";
http-chunk-size = "10M";
};
};
};
}