From db213b563f6a6d031e360689904d4bc29d899ffc Mon Sep 17 00:00:00 2001 From: Craig Drummond Date: Wed, 16 Feb 2022 21:09:23 +0000 Subject: [PATCH] Skipping dirs is info, and CUE not supported is warn - neither are errors! --- src/analyse.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/analyse.rs b/src/analyse.rs index 2938779..ec272b7 100644 --- a/src/analyse.rs +++ b/src/analyse.rs @@ -31,7 +31,7 @@ fn get_file_list(db:&mut db::Db, mpath:&PathBuf, path:&PathBuf, track_paths:&mut let mut check = pb.clone(); check.push(PathBuf::from(DONT_ANALYSE)); if check.exists() { - log::error!("Skiping {}", pb.to_string_lossy()); + log::info!("Skipping '{}', found '{}'", pb.to_string_lossy(), DONT_ANALYSE); } else { get_file_list(db, mpath, &entry.path(), track_paths); } @@ -45,7 +45,7 @@ fn get_file_list(db:&mut db::Db, mpath:&PathBuf, path:&PathBuf, track_paths:&mut let mut cue = pb.clone(); cue.set_extension("cue"); if cue.exists() { - log::error!("Found CUE album '{}' - not currently handled!", pb.to_string_lossy()); + log::warn!("Found CUE album '{}' - not currently handled!", pb.to_string_lossy()); } else { let spb = stripped.to_path_buf(); let sname = String::from(spb.to_string_lossy());