qrencode: isntall in office profile
[julm/julm-nix.git] / home-manager / profiles / yt-dlp.nix
index 6f7100b4d87a511b94cb74bcbaaeccc7f1db2a1c..9d1f5c88b128da69fc6c33a753d731551d89bc22 100644 (file)
     --embed-chapters
     --embed-subs
     --sub-langs all
+    --format-sort +res~480,+vcodec:av01,+acodec:opus
     --format ${lib.concatStringsSep "/" [
-      "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=av1]"
-      "best[height<=480][ext=vp9]"
-      "best[height<=480][ext=mp4]"
-      "best[height<=480]"
-
+      "bestvideo+bestaudio"
       "best"
     ]}
     --output "%(release_date>%Y-%m-%d,upload_date>%Y-%m-%d)s - %(title)s.%(id)s.%(format_id)s.%(ext)s"