You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bpepple
changed the title
MAC OS: Program crashes if a ComicInfo.xml exists in a subfolder
Program crashes if a ComicInfo.xml exists in a subfolder
Feb 2, 2025
Skip the file, and log the error to the users ~/.config/metron-tagger.log, and they can decide how they want to fix it (delete the file or move it to it's parent directory).
Read and write the existing metadata file in the subdirectory. This could cause problems with some of the comic servers, since the metadata is expected in the parent directory, and I'm not sure if the comic servers support having it in a subdirectory (tho after talking with the Kavita dev, they at least do).
Read existing existing metadata, and rename it by appending something like _bak, and write a new metadata file to the parent directory.
Move metadata to parent directory, and then write to it.
I'm leaning towards the first option (since it's the easiest), but I'm not sure which is the best route to go, what are your thoughts, @baew?
Describe the bug
If a cbz file has a folder packed with it and a ComicInfo.xml is in this folder and not in the top level then the app crashes.
Command i use:
metron-tagger -omc *.cbz
Result :

If you delete the ComicInfo.xml beforehand, everything works perfectly.
Thank you for the app and the effort you have put into it. It is very useful for me.
The text was updated successfully, but these errors were encountered: