mirror of
https://github.com/CDrummond/bliss-analyser.git
synced 2026-10-22 22:32:08 +03:00
Sort paths
This commit is contained in:
1 parent
08e43bf609
commit
7998278c9b
1 file changed
+1
@@ -321,6 +321,7 @@ pub fn analyse_files(db_path: &str, mpath: &PathBuf, dry_run:bool, keep_old:bool
|
|||||||
db.init();
|
db.init();
|
||||||
log::info!("Looking for new tracks");
|
log::info!("Looking for new tracks");
|
||||||
get_file_list(&mut db, mpath, &cur, &mut track_paths, &mut cue_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());
|
log::info!("Num new tracks: {}", track_paths.len());
|
||||||
if !cue_tracks.is_empty() {
|
if !cue_tracks.is_empty() {
|
||||||
log::info!("Num new cue tracks: {}", cue_tracks.len());
|
log::info!("Num new cue tracks: {}", cue_tracks.len());
|
||||||
|
|||||||
Reference in new issue
Block a user