summaryrefslogtreecommitdiff
path: root/user-profiles
diff options
context:
space:
mode:
Diffstat (limited to 'user-profiles')
-rw-r--r--user-profiles/mpv/default.nix9
-rw-r--r--user-profiles/yt-dlp.nix7
2 files changed, 3 insertions, 13 deletions
diff --git a/user-profiles/mpv/default.nix b/user-profiles/mpv/default.nix
index 642eb004..5c4012cb 100644
--- a/user-profiles/mpv/default.nix
+++ b/user-profiles/mpv/default.nix
@@ -7,15 +7,6 @@
7 }; 7 };
8 config = { 8 config = {
9 ytdl = true; 9 ytdl = true;
10 ytdl-format = lib.concatStringsSep "/" [
11 "bestvideo[width<=2560][height<=1440][fps<=60][protocol!=http_dash_segments]+bestaudio[protocol!=http_dash_segments]"
12 "best[width<=2560][height<=1440][fps<=60][protocol!=http_dash_segments]"
13 "best[protocol!=http_dash_segments]"
14 ];
15 ytdl-raw-options = lib.concatStringsSep "," [
16 "netrc="
17 "mark-watched="
18 ];
19 sub = false; 10 sub = false;
20 osd-font = "DejaVu Sans"; 11 osd-font = "DejaVu Sans";
21 vo = "gpu"; 12 vo = "gpu";
diff --git a/user-profiles/yt-dlp.nix b/user-profiles/yt-dlp.nix
index 946fd8d0..67b6adcb 100644
--- a/user-profiles/yt-dlp.nix
+++ b/user-profiles/yt-dlp.nix
@@ -6,12 +6,11 @@
6 --netrc 6 --netrc
7 --mark-watched 7 --mark-watched
8 --format ${lib.concatStringsSep "/" [ 8 --format ${lib.concatStringsSep "/" [
9 "bestvideo[width<=1920][height<=1080][fps<=60][protocol!=http_dash_segments]+bestaudio[protocol!=http_dash_segments]" 9 "bestvideo[width<=2560][height<=1440][fps<=60][protocol!=http_dash_segments]+bestaudio[protocol!=http_dash_segments]"
10 "best[width<=1920][height<=1080][fps<=60][protocol!=http_dash_segments]" 10 "best[width<=2560][height<=1440][fps<=60][protocol!=http_dash_segments]"
11 # "bestvideo[width<=2560][height<=1440][fps<=60][protocol!=http_dash_segments]+bestaudio[protocol!=http_dash_segments]"
12 # "best[width<=2560][height<=1440][fps<=60][protocol!=http_dash_segments]"
13 "best[protocol!=http_dash_segments]" 11 "best[protocol!=http_dash_segments]"
14 ]} 12 ]}
13 --sub-langs all,-live_chat
15 ''; 14 '';
16 }; 15 };
17} 16}