jegasus / world-manager

A Python-based tool that helps manage FoundryVTT Worlds.
GNU General Public License v3.0
13 stars 5 forks source link

Feature request: add warning if two images have same name, but different extensions #8

Open Merudo opened 3 years ago

Merudo commented 3 years ago

In my case, my original world somehow ended up with two different images with the same name but different extensions:

After compressing the world using your tool, only one of the images got converted to .webp - the other image got deleted.

Maybe some sort of warning, or renaming, could occur if multiple images share the same name but have different extensions?

jegasus commented 3 years ago

Thanks for filing the issue! So, originally, those two separate image files were in the same folder, had the same base name, but contained different contents from each other? Hmmm... In that case, my code will bull-doze right through it. I can see about adding a notification when this kind of problem crops up. But still, it's a good idea to add a note to the known bugs section in my main `README.