about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--crates/yt_dlp/src/wrapper/info_json.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/crates/yt_dlp/src/wrapper/info_json.rs b/crates/yt_dlp/src/wrapper/info_json.rs
index f7ecc17..dcf011b 100644
--- a/crates/yt_dlp/src/wrapper/info_json.rs
+++ b/crates/yt_dlp/src/wrapper/info_json.rs
@@ -194,12 +194,17 @@ pub struct RequestedDownloads {
     pub width: u32,
 }
 
-#[derive(Debug, Deserialize, Serialize, PartialEq, PartialOrd, Ord, Eq)]
+#[derive(Debug, Deserialize, Serialize, PartialEq, PartialOrd)]
 #[serde(deny_unknown_fields)]
 pub struct Subtitle {
     pub ext: SubtitleExt,
     pub filepath: PathBuf,
+    pub filesize: Option<u64>,
+    pub fragment_base_url: Option<Url>,
+    pub fragments: Option<Vec<Fragment>>,
+    pub manifest_url: Option<Url>,
     pub name: Option<String>,
+    pub protocol: Option<Todo>,
     pub url: Url,
 }