about summary refs log tree commit diff stats
path: root/crates/yt_dlp/src
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-29 17:44:00 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-29 17:44:00 +0100
commit9a47c1ffe2baab5aa6bf1aa39689aa376afec145 (patch)
treec4e44a3d2bc5aed1b4dfb855501c2e9658c95825 /crates/yt_dlp/src
parentfix(yt/videos/display): Also replace '“' in titles (diff)
downloadyt-9a47c1ffe2baab5aa6bf1aa39689aa376afec145.tar.gz
yt-9a47c1ffe2baab5aa6bf1aa39689aa376afec145.zip
style(treewide): Format
Diffstat (limited to '')
-rw-r--r--crates/yt_dlp/src/lib.rs5
-rw-r--r--crates/yt_dlp/src/wrapper/info_json.rs1
2 files changed, 1 insertions, 5 deletions
diff --git a/crates/yt_dlp/src/lib.rs b/crates/yt_dlp/src/lib.rs
index ddbce7d..9fd0200 100644
--- a/crates/yt_dlp/src/lib.rs
+++ b/crates/yt_dlp/src/lib.rs
@@ -271,10 +271,7 @@ pub fn progress_hook(py: Python<'_>, input: &Bound<'_, PyDict>) -> PyResult<()>
             stdout().flush()?;
         }
         "finished" => {
-            println!(
-                "-> Finished downloading: '{}'",
-                c!("34;1", get_title(true))
-            );
+            println!("-> Finished downloading: '{}'", c!("34;1", get_title(true)));
         }
         "error" => {
             panic!("-> Error while downloading: {}", get_title(true))
diff --git a/crates/yt_dlp/src/wrapper/info_json.rs b/crates/yt_dlp/src/wrapper/info_json.rs
index 1920172..a2a775c 100644
--- a/crates/yt_dlp/src/wrapper/info_json.rs
+++ b/crates/yt_dlp/src/wrapper/info_json.rs
@@ -247,7 +247,6 @@ pub struct SubtitleFragment {
     duration: Option<f64>,
 }
 
-
 #[derive(Debug, Deserialize, Serialize, PartialEq, PartialOrd)]
 #[serde(deny_unknown_fields)]
 pub struct Chapter {