Actually implement deletion

This commit is contained in:
Jakob Moser 2025-05-21 14:14:18 +02:00
parent 839d0e35ae
commit bd8b0415d4
Signed by: jakob
GPG Key ID: 3EF2BA2851B3F53C

View File

@ -44,6 +44,9 @@ if __name__ == "__main__":
f"{len(pruning_instructions)} exactly duplicated songs will be deleted"
)
# TODO Call all pruning_instructions, to actually delete the files
logging.warning(f"Deleting {len(pruning_instructions)} songs!")
for instruction in tqdm(pruning_instructions, unit=" songs"):
instruction()
logging.info("Deletion done")
logging.info("Karaokatalog Deduplication done")