diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2024-07-31 08:06:18 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2024-07-31 08:06:18 +0200 |
commit | 122679ce1a17ebdf6eacbd12c0f50e140a295513 (patch) | |
tree | 71763882239b141c8693f6fd95095cb05044d78c /user-profiles | |
parent | f92ff4faf08e066c89a7fe76ed804d7f4451f95c (diff) | |
download | nixos-122679ce1a17ebdf6eacbd12c0f50e140a295513.tar nixos-122679ce1a17ebdf6eacbd12c0f50e140a295513.tar.gz nixos-122679ce1a17ebdf6eacbd12c0f50e140a295513.tar.bz2 nixos-122679ce1a17ebdf6eacbd12c0f50e140a295513.tar.xz nixos-122679ce1a17ebdf6eacbd12c0f50e140a295513.zip |
...
Diffstat (limited to 'user-profiles')
-rw-r--r-- | user-profiles/yt-dlp.nix | 13 |
1 files changed, 7 insertions, 6 deletions
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 @@ | |||
4 | programs.yt-dlp = { | 4 | programs.yt-dlp = { |
5 | enable = true; | 5 | enable = true; |
6 | settings = { | 6 | settings = { |
7 | cookies-from-browser = "firefox"; | 7 | cookies-from-browser = "firefox::none"; |
8 | mark-watched = true; | 8 | mark-watched = true; |
9 | format = lib.concatStringsSep "/" [ | 9 | format = lib.concatStringsSep "/" [ |
10 | "bestvideo[width<=3840][height<=2160][fps<=60]+bestaudio" | 10 | "bestvideo*[width<=3840][height<=2160][fps<=60]+bestaudio" |
11 | "best[width<=3840][height<=2160][fps<=60]" | 11 | "best[width<=3840][height<=2160][fps<=60]" |
12 | "bestvideo*+bestaudio" | ||
12 | "best" | 13 | "best" |
13 | ]; | 14 | ]; |
14 | sub-langs = "all,-live_chat,-rechat"; | 15 | sub-langs = "all,-live_chat,-rechat"; |
@@ -19,10 +20,10 @@ | |||
19 | buffer-size = "16K"; | 20 | buffer-size = "16K"; |
20 | sponsorblock-mark = "all"; | 21 | sponsorblock-mark = "all"; |
21 | restrict-filenames = true; | 22 | restrict-filenames = true; |
22 | extractor-args = lib.concatStringsSep ";" [ | 23 | # extractor-args = lib.concatStringsSep ";" [ |
23 | "youtube:player-client=android,web" | 24 | # "youtube:player-client=android,web" |
24 | "youtube:formats=dashy" | 25 | # "youtube:formats=dashy" |
25 | ]; | 26 | # ]; |
26 | remux-video = "mp4>mkv"; | 27 | remux-video = "mp4>mkv"; |
27 | }; | 28 | }; |
28 | }; | 29 | }; |