Just log errors for now

This commit is contained in:
Jakob Moser 2025-06-01 14:23:28 +02:00
parent 2ffae9ceda
commit e4f7172f88
Signed by: jakob
GPG Key ID: 3EF2BA2851B3F53C

View File

@ -27,7 +27,10 @@ if __name__ == "__main__":
logging.warning(f"Moving {len(move_instructions)} songs!")
for instruction in tqdm(move_instructions, unit=" songs"):
instruction()
try:
instruction()
except FileExistsError:
logging.error(f"Could not move {instruction.old_path} -> {instruction.new_path}")
logging.info("Moving done")
logging.info("Karaokatalog Organization done")