about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--yt/src/download/download_options.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/yt/src/download/download_options.rs b/yt/src/download/download_options.rs
index 148ee56..bb87214 100644
--- a/yt/src/download/download_options.rs
+++ b/yt/src/download/download_options.rs
@@ -28,6 +28,8 @@ pub fn download_opts(app: &App, additional_opts: &YtDlpOptions) -> serde_json::M
           ]
         }
       },
+
+      "prefer_free_formats": true,
       "ffmpeg_location": env!("FFMPEG_LOCATION"),
       "format": "bestvideo[height<=?1080]+bestaudio/best",
       "fragment_retries": 10,
@@ -36,7 +38,8 @@ pub fn download_opts(app: &App, additional_opts: &YtDlpOptions) -> serde_json::M
       "retries": 10,
 
       "writeinfojson": true,
-      "writeannotations": true,
+      // NOTE: This results in a constant warning message.  <2025-01-04>
+      // "writeannotations": true,
       "writesubtitles": true,
       "writeautomaticsub": true,