Improve logging

This commit is contained in:
Jakob Moser 2025-05-24 19:42:50 +02:00
parent 21a0764fe2
commit 8676b00ae3
Signed by: jakob
GPG Key ID: 3EF2BA2851B3F53C

View File

@ -40,7 +40,7 @@ if __name__ == "__main__":
logging.info("Finding duplicates (songs with identical title and artist)")
duplicates = find_duplicates(library.songs_in_unique_dirs)
logging.info("Duplicates found")
logging.info(f"{len(duplicates)} duplicate sets found")
logging.info("Finding exact duplicates (files are 100% identical)")
# TODO Make this abortable and restartable
@ -49,7 +49,7 @@ if __name__ == "__main__":
for songs in tqdm(duplicates.values(), unit=" duplicates")
for equivalence_class in get_equivalence_classes(songs, Song.has_identic_files)
)
logging.info("Exact duplicates found")
logging.info(f"{len(exact_duplicates)} exact duplicate sets found")
logging.info("Determining songs to prune")
pruning_instructions = tuple(