mirror of
https://github.com/CDrummond/bliss-analyser.git
synced 2025-04-08 05:00:02 +03:00
Only output music path if more than 1 configured
This commit is contained in:
parent
4f7850bc40
commit
311c5e4242
@ -327,7 +327,11 @@ pub fn analyse_files(db_path: &str, mpaths: &Vec<PathBuf>, dry_run:bool, keep_ol
|
||||
let mut track_paths:Vec<String> = Vec::new();
|
||||
let mut cue_tracks:Vec<cue::CueTrack> = Vec::new();
|
||||
|
||||
log::info!("Looking for new tracks in {}", mpath.to_string_lossy());
|
||||
if mpaths.len()>1 {
|
||||
log::info!("Looking for new tracks in {}", mpath.to_string_lossy());
|
||||
} else {
|
||||
log::info!("Looking for new tracks");
|
||||
}
|
||||
get_file_list(&mut db, &mpath, &cur, &mut track_paths, &mut cue_tracks);
|
||||
track_paths.sort();
|
||||
log::info!("Num new tracks: {}", track_paths.len());
|
||||
|
Loading…
x
Reference in New Issue
Block a user