diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-21 19:49:09 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-21 19:49:09 +0200 |
commit | 947e3f119995b02ca5455683632f4ca7e1b6e670 (patch) | |
tree | ef12f78fdfd0569cf2514dfe4f8346a1be87308e /yt_dlp/src/wrapper | |
parent | docs(yt_dlp/lib): Improve some comments (diff) | |
download | yt-947e3f119995b02ca5455683632f4ca7e1b6e670.tar.gz yt-947e3f119995b02ca5455683632f4ca7e1b6e670.zip |
fix(yt_dlp/info_json): Add further fields
Diffstat (limited to '')
-rw-r--r-- | yt_dlp/src/wrapper/info_json.rs | 4 |
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, |