From 122679ce1a17ebdf6eacbd12c0f50e140a295513 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 31 Jul 2024 08:06:18 +0200 Subject: ... --- user-profiles/yt-dlp.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'user-profiles') diff --git a/user-profiles/yt-dlp.nix b/user-profiles/yt-dlp.nix index 4ec6d6f7..005f56ff 100644 --- a/user-profiles/yt-dlp.nix +++ b/user-profiles/yt-dlp.nix @@ -4,11 +4,12 @@ programs.yt-dlp = { enable = true; settings = { - cookies-from-browser = "firefox"; + cookies-from-browser = "firefox::none"; mark-watched = true; format = lib.concatStringsSep "/" [ - "bestvideo[width<=3840][height<=2160][fps<=60]+bestaudio" + "bestvideo*[width<=3840][height<=2160][fps<=60]+bestaudio" "best[width<=3840][height<=2160][fps<=60]" + "bestvideo*+bestaudio" "best" ]; sub-langs = "all,-live_chat,-rechat"; @@ -19,10 +20,10 @@ buffer-size = "16K"; sponsorblock-mark = "all"; restrict-filenames = true; - extractor-args = lib.concatStringsSep ";" [ - "youtube:player-client=android,web" - "youtube:formats=dashy" - ]; + # extractor-args = lib.concatStringsSep ";" [ + # "youtube:player-client=android,web" + # "youtube:formats=dashy" + # ]; remux-video = "mp4>mkv"; }; }; -- cgit v1.2.3