about summary refs log tree commit diff stats
path: root/crates/yt_dlp/src/wrapper
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--crates/yt_dlp/src/wrapper/info_json.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/crates/yt_dlp/src/wrapper/info_json.rs b/crates/yt_dlp/src/wrapper/info_json.rs
index 6597348..50a026d 100644
--- a/crates/yt_dlp/src/wrapper/info_json.rs
+++ b/crates/yt_dlp/src/wrapper/info_json.rs
@@ -24,6 +24,7 @@ type Todo = String;
 #[derive(Debug, Deserialize, Serialize, PartialEq)]
 #[serde(deny_unknown_fields)]
 pub struct InfoJson {
+    pub __files_to_move: Option<FilesToMove>,
     pub __last_playlist_index: Option<u32>,
     pub __post_extractor: Option<String>,
     pub __x_forwarded_for_ip: Option<String>,
@@ -145,6 +146,10 @@ pub struct InfoJson {
 
 #[derive(Debug, Deserialize, Serialize, PartialEq)]
 #[serde(deny_unknown_fields)]
+pub struct FilesToMove {}
+
+#[derive(Debug, Deserialize, Serialize, PartialEq)]
+#[serde(deny_unknown_fields)]
 pub struct RequestedDownloads {
     pub __files_to_merge: Option<Vec<Todo>>,
     pub __finaldir: PathBuf,
@@ -198,6 +203,9 @@ pub enum SubtitleExt {
     #[serde(alias = "vtt")]
     Vtt,
 
+    #[serde(alias = "mp4")]
+    Mp4,
+
     #[serde(alias = "json")]
     Json,
     #[serde(alias = "json3")]
@@ -279,6 +287,9 @@ pub enum SponsorblockChapterCategory {
     #[serde(alias = "interaction")]
     Interaction,
 
+    #[serde(alias = "music_offtopic")]
+    MusicOfftopic,
+
     #[serde(alias = "poi_highlight")]
     PoiHighlight,