mirror of
https://github.com/CDrummond/bliss-analyser.git
synced 2026-10-22 22:32:08 +03:00
Skipping dirs is info, and CUE not supported is warn - neither are
errors!
This commit is contained in:
1 parent
c8cf2b33ac
commit
db213b563f
1 file changed
+2
-2
+2
-2
@@ -31,7 +31,7 @@ fn get_file_list(db:&mut db::Db, mpath:&PathBuf, path:&PathBuf, track_paths:&mut
|
|||||||
let mut check = pb.clone();
|
let mut check = pb.clone();
|
||||||
check.push(PathBuf::from(DONT_ANALYSE));
|
check.push(PathBuf::from(DONT_ANALYSE));
|
||||||
if check.exists() {
|
if check.exists() {
|
||||||
log::error!("Skiping {}", pb.to_string_lossy());
|
log::info!("Skipping '{}', found '{}'", pb.to_string_lossy(), DONT_ANALYSE);
|
||||||
} else {
|
} else {
|
||||||
get_file_list(db, mpath, &entry.path(), track_paths);
|
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();
|
let mut cue = pb.clone();
|
||||||
cue.set_extension("cue");
|
cue.set_extension("cue");
|
||||||
if cue.exists() {
|
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 {
|
} else {
|
||||||
let spb = stripped.to_path_buf();
|
let spb = stripped.to_path_buf();
|
||||||
let sname = String::from(spb.to_string_lossy());
|
let sname = String::from(spb.to_string_lossy());
|
||||||
|
|||||||
Reference in new issue
Block a user