shell: add gnupg
[julm/julm-nix.git] / home-manager / profiles / yt-dlp.nix
index c0c90fc96d7769a5b3eba2b2f9532f0f244ecda4..e941a5a6b765f4a85436323fc8a1d5d939b777ca 100644 (file)
     --embed-subs
     --sub-langs all
     --format ${lib.concatStringsSep "/" [
-      "bestvideo[height=480][ext=mp4]+bestaudio"
-      "bestvideo[height=480]+bestaudio"
+      "bestvideo[height<=480][vcodec=av1]+bestaudio"
+      "bestvideo[height<=480][vcodec=vp9]+bestaudio"
       "bestvideo[height<=480][ext=mp4]+bestaudio"
       "bestvideo[height<=480]+bestaudio"
-      "best[height=480][ext=mp4]"
-      "best[height=480]"
+
+      "best[height<=480][ext=av1]"
+      "best[height<=480][ext=vp9]"
       "best[height<=480][ext=mp4]"
       "best[height<=480]"
+
       "best"
     ]}
     --output "%(release_date>%Y-%m-%d,upload_date>%Y-%m-%d)s - %(title)s.%(id)s.%(format_id)s.%(ext)s"