From f4e8f4aca0369798a1779253c3369ff3669b4bb6 Mon Sep 17 00:00:00 2001 From: MCorange99 Date: Mon, 8 Apr 2024 03:12:07 +0300 Subject: [PATCH] made skipped songs log to debug instead --- manifest.json | 3 ++- music_mgr/src/downloader.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 2205249..247282b 100644 --- a/manifest.json +++ b/manifest.json @@ -118,7 +118,8 @@ {"name": "Ka Tu Ka Vakare", "url": "https://www.youtube.com/watch?v=6SOS4ljHbJY"} ], "lietuviskos/rave": [ - {"name": "VainHouse - Malunas Prie Kelio", "url": "https://www.youtube.com/watch?v=bbwuNjDXCiM"} + {"name": "VainHouse - Malunas Prie Kelio", "url": "https://www.youtube.com/watch?v=bbwuNjDXCiM"}, + {"name": "Sokoledas - Mano Skonis Sokolado (Matuze & Arnisxd Remix)", "url": "https://www.youtube.com/watch?v=hb41bfQxiM0"} ], "rusiskos": [ {"name": "Topolini puh", "url": "https://www.youtube.com/watch?v=UUryvYF8tUs"}, diff --git a/music_mgr/src/downloader.rs b/music_mgr/src/downloader.rs index e3ac0d4..9920407 100644 --- a/music_mgr/src/downloader.rs +++ b/music_mgr/src/downloader.rs @@ -48,7 +48,7 @@ impl Downloader { async fn download_song(&mut self, path: String, audio_format: &String, url: &String) -> anyhow::Result<()> { if PathBuf::from(&path).exists() { - log::info!("File {path} exists, skipping"); + log::debug!("File {path} exists, skipping"); return Ok(()) } let mut cmd = tokio::process::Command::new(&self.ytdlp_path);