summaryrefslogtreecommitdiff
path: root/user-profiles
diff options
context:
space:
mode:
Diffstat (limited to 'user-profiles')
-rw-r--r--user-profiles/yt-dlp.nix13
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 };