From 832ad8265015284f1d95c3426f074aaeacd05864 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 21 Feb 2025 22:33:31 +0100 Subject: chore(crates/yt_dlp/wrappers/info_json): Add further fields --- crates/yt_dlp/src/wrapper/info_json.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/yt_dlp/src/wrapper/info_json.rs b/crates/yt_dlp/src/wrapper/info_json.rs index 4b80245..a2c00df 100644 --- a/crates/yt_dlp/src/wrapper/info_json.rs +++ b/crates/yt_dlp/src/wrapper/info_json.rs @@ -762,6 +762,7 @@ pub struct Format { pub height: Option, pub http_headers: Option, pub is_dash_periods: Option, + pub is_live: Option, pub language: Option, pub language_preference: Option, pub manifest_stream_number: Option, @@ -809,9 +810,10 @@ pub struct HttpHeader { #[derive(Debug, Deserialize, Serialize, PartialEq, PartialOrd)] #[serde(deny_unknown_fields)] pub struct Fragment { - pub url: Option, pub duration: Option, + pub fragment_count: Option, pub path: Option, + pub url: Option, } impl InfoJson { -- cgit 1.4.1