about summary refs log tree commit diff stats
path: root/yt_dlp/src
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-21 19:49:09 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-21 19:49:09 +0200
commit947e3f119995b02ca5455683632f4ca7e1b6e670 (patch)
treeef12f78fdfd0569cf2514dfe4f8346a1be87308e /yt_dlp/src
parentdocs(yt_dlp/lib): Improve some comments (diff)
downloadyt-947e3f119995b02ca5455683632f4ca7e1b6e670.tar.gz
yt-947e3f119995b02ca5455683632f4ca7e1b6e670.zip
fix(yt_dlp/info_json): Add further fields
Diffstat (limited to 'yt_dlp/src')
-rw-r--r--yt_dlp/src/wrapper/info_json.rs4
1 files changed, 4 insertions, 0 deletions
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<u64>,
     pub format: Option<String>,
     pub format_id: Option<String>,
+    pub format_index: Option<u32>,
     pub format_note: Option<String>,
     pub formats: Option<Vec<Format>>,
     pub fps: Option<f64>,
@@ -269,6 +270,9 @@ pub enum SponsorblockChapterCategory {
     #[serde(alias = "filler")]
     Filler,
 
+    #[serde(alias = "poi_highlight")]
+    PoiHighlight,
+
     #[serde(alias = "sponsor")]
     Sponsor,