Just log errors for now
This commit is contained in:
parent
2ffae9ceda
commit
e4f7172f88
@ -27,7 +27,10 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
logging.warning(f"Moving {len(move_instructions)} songs!")
|
logging.warning(f"Moving {len(move_instructions)} songs!")
|
||||||
for instruction in tqdm(move_instructions, unit=" 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("Moving done")
|
||||||
|
|
||||||
logging.info("Karaokatalog Organization done")
|
logging.info("Karaokatalog Organization done")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user