From 2b48e889a56ee8374268ba9838d886610009574c Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Tue, 23 Aug 2022 10:38:25 +0100 Subject: [PATCH] Always print summary from replace_files --- app/replace_files.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app/replace_files.py b/app/replace_files.py index ee35343..913cda8 100755 --- a/app/replace_files.py +++ b/app/replace_files.py @@ -35,8 +35,8 @@ from typing import List # ###################### SETTINGS ######################### process_multiple_matches = True -do_processing = True -process_no_matches = True +do_processing = False +process_no_matches = False # ######################################################### @@ -195,6 +195,13 @@ def main(): print(" \n".join(no_match)) print() + print(f"Name and tags match ({len(name_and_tags)}):") + print(f"Name but not tags match ({len(name_not_tags)}):") + print(f"Tags but not name match ({len(tags_not_name)}):") + print(f"Multiple similar names ({len(multiple_similar)}):") + print(f"Possibles: ({len(possibles)}):") + print(f"No match ({len(no_match)}):") + def process_track(src, dst, title, artist, bitrate):