summaryrefslogtreecommitdiff
path: root/user-profiles/yt-dlp.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-12-01 15:50:25 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-12-01 15:50:25 +0100
commit540c845c939d82fa53c67754adfe56c948d28209 (patch)
tree363177d68a7bfda4a3b343038548636acb769e56 /user-profiles/yt-dlp.nix
parentff4f64f3e076865e30cd553c544a41ed0b92051a (diff)
downloadnixos-540c845c939d82fa53c67754adfe56c948d28209.tar
nixos-540c845c939d82fa53c67754adfe56c948d28209.tar.gz
nixos-540c845c939d82fa53c67754adfe56c948d28209.tar.bz2
nixos-540c845c939d82fa53c67754adfe56c948d28209.tar.xz
nixos-540c845c939d82fa53c67754adfe56c948d28209.zip
yt-dlp: ...
Diffstat (limited to 'user-profiles/yt-dlp.nix')
-rw-r--r--user-profiles/yt-dlp.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/user-profiles/yt-dlp.nix b/user-profiles/yt-dlp.nix
index 89a26990..288bba14 100644
--- a/user-profiles/yt-dlp.nix
+++ b/user-profiles/yt-dlp.nix
@@ -6,11 +6,13 @@
6 --netrc 6 --netrc
7 --mark-watched 7 --mark-watched
8 --format ${lib.concatStringsSep "/" [ 8 --format ${lib.concatStringsSep "/" [
9 "bestvideo[width<=3840][height<=2160][fps<=60][protocol!=http_dash_segments]+bestaudio[protocol!=http_dash_segments]" 9 "bestvideo[width<=3840][height<=2160][fps<=60]+bestaudio"
10 "best[width<=3840][height<=2160][fps<=60][protocol!=http_dash_segments]" 10 "best[width<=3840][height<=2160][fps<=60]"
11 "best[protocol!=http_dash_segments]" 11 "best"
12 ]} 12 ]}
13 --sub-langs all,-live_chat 13 --sub-langs all,-live_chat
14 --prefer-free-formats
15 --embed-metadata
14 ''; 16 '';
15 }; 17 };
16} 18}