aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/download/mod.rs13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/download/mod.rs b/src/download/mod.rs
index b29594f..faf4f37 100644
--- a/src/download/mod.rs
+++ b/src/download/mod.rs
@@ -181,13 +181,6 @@ impl Downloader {
self.current_download = Some(new_current_download);
} else {
- debug!(
- "Currently downloading '{}'",
- current_download
- .extractor_hash
- .into_short_hash(&app)
- .await?
- );
// Reset the taken value
self.current_download = Some(current_download);
}
@@ -229,11 +222,7 @@ impl Downloader {
.boxed()
}
- let val = dir_size(fs::read_dir(&app.config.paths.download_dir).await?).await;
- if let Ok(val) = val {
- info!("Cache dir has a size of '{}'", Bytes::new(val));
- }
- val
+ dir_size(fs::read_dir(&app.config.paths.download_dir).await?).await
}
async fn get_approx_video_size(&mut self, app: &App, video: &Video) -> Result<u64> {