summaryrefslogtreecommitdiff
path: root/user-profiles
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-11-27 18:28:37 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-11-27 18:28:37 +0100
commitf68a00caca20cbc1a96a9a2add59c2037dd29f5a (patch)
tree328f018c4cd696ed0a8ae000c8ab479af87d5b14 /user-profiles
parent626d60b58abd84d05021c5dcb26c73e4ae3e463c (diff)
downloadnixos-f68a00caca20cbc1a96a9a2add59c2037dd29f5a.tar
nixos-f68a00caca20cbc1a96a9a2add59c2037dd29f5a.tar.gz
nixos-f68a00caca20cbc1a96a9a2add59c2037dd29f5a.tar.bz2
nixos-f68a00caca20cbc1a96a9a2add59c2037dd29f5a.tar.xz
nixos-f68a00caca20cbc1a96a9a2add59c2037dd29f5a.zip
yt-dlp: ...
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}