diff options
Diffstat (limited to 'user-profiles')
-rw-r--r-- | user-profiles/mpv/default.nix | 1 | ||||
-rw-r--r-- | user-profiles/yt-dlp.nix | 20 |
2 files changed, 13 insertions, 8 deletions
diff --git a/user-profiles/mpv/default.nix b/user-profiles/mpv/default.nix index 620be49d..bbb6d9ac 100644 --- a/user-profiles/mpv/default.nix +++ b/user-profiles/mpv/default.nix | |||
@@ -13,6 +13,7 @@ | |||
13 | osd-font = "Fira Sans"; | 13 | osd-font = "Fira Sans"; |
14 | sub-font = "Fira Sans"; | 14 | sub-font = "Fira Sans"; |
15 | # vo = "gpu"; | 15 | # vo = "gpu"; |
16 | vo = "gpu-next"; | ||
16 | hwdec = "auto"; | 17 | hwdec = "auto"; |
17 | force-window = "yes"; | 18 | force-window = "yes"; |
18 | # af = "lavfi=[dynaudnorm=f=100:g=31:s=20.0]"; | 19 | # af = "lavfi=[dynaudnorm=f=100:g=31:s=20.0]"; |
diff --git a/user-profiles/yt-dlp.nix b/user-profiles/yt-dlp.nix index 4ec6d6f7..550d6a78 100644 --- a/user-profiles/yt-dlp.nix +++ b/user-profiles/yt-dlp.nix | |||
@@ -4,25 +4,29 @@ | |||
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 | embed-subs = true; |
16 | # write-subs = true; | ||
17 | # write-auto-subs = true; | ||
18 | sub-langs = "en(-(gb|us|orig))?,de(-(de|orig))?,-live_chat,-rechat"; | ||
15 | prefer-free-formats = true; | 19 | prefer-free-formats = true; |
16 | embed-metadata = true; | 20 | embed-metadata = true; |
17 | # downloader = "${pkgs.axel}/bin/axel"; | 21 | # downloader = "${pkgs.axel}/bin/axel"; |
18 | concurrent-fragments = 12; | 22 | concurrent-fragments = 12; |
19 | buffer-size = "16K"; | 23 | buffer-size = "16K"; |
20 | sponsorblock-mark = "all"; | 24 | sponsorblock-mark = "all"; |
21 | restrict-filenames = true; | 25 | # restrict-filenames = true; |
22 | extractor-args = lib.concatStringsSep ";" [ | 26 | # extractor-args = lib.concatStringsSep ";" [ |
23 | "youtube:player-client=android,web" | 27 | # "youtube:player-client=android,web" |
24 | "youtube:formats=dashy" | 28 | # "youtube:formats=dashy" |
25 | ]; | 29 | # ]; |
26 | remux-video = "mp4>mkv"; | 30 | remux-video = "mp4>mkv"; |
27 | }; | 31 | }; |
28 | }; | 32 | }; |