From 947e3f119995b02ca5455683632f4ca7e1b6e670 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 21 Aug 2024 19:49:09 +0200 Subject: fix(yt_dlp/info_json): Add further fields --- yt_dlp/src/wrapper/info_json.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'yt_dlp/src/wrapper') diff --git a/yt_dlp/src/wrapper/info_json.rs b/yt_dlp/src/wrapper/info_json.rs index aceeeb8..e9136a5 100644 --- a/yt_dlp/src/wrapper/info_json.rs +++ b/yt_dlp/src/wrapper/info_json.rs @@ -70,6 +70,7 @@ pub struct InfoJson { pub filesize_approx: Option, pub format: Option, pub format_id: Option, + pub format_index: Option, pub format_note: Option, pub formats: Option>, pub fps: Option, @@ -269,6 +270,9 @@ pub enum SponsorblockChapterCategory { #[serde(alias = "filler")] Filler, + #[serde(alias = "poi_highlight")] + PoiHighlight, + #[serde(alias = "sponsor")] Sponsor, -- cgit 1.4.1