Kometa-Team / ImageMaid

Python 3 Script for Cleaning Up Images in Plex
MIT License
273 stars 15 forks source link

[Feature]: ImageMaid to Ignore Uploads/themes/ #65

Open Healzangels opened 1 month ago

Healzangels commented 1 month ago

Describe the Feature Request

Greetings!

I recently discovered https://github.com/LizardByte/Themerr-plex which I've been really enjoying. One thing I've noticed however is unfortunately the themes that Themerr adds to the movies is also marked as a bloat file by ImageMaid. This leads to /Uploads/themes/ being removed on a 'remove' ImageMaid run; unfortunately 'breaking' the themes.

Hoping it would be possible to have an additional options or flag that would prevent ImageMaid from treating those uploaded themes as bloat files but still removing the /Uploads/posters/ that are indeed bloat.

Attaching a link to a snippit of the logs while running on 'report' that shows those themes being marked as bloat files. https://pastebin.com/egK802mg

ReenigneArcher commented 1 month ago

I am the maintainer of Themerr, and to add some, hopefully, helpful information.

We "lock" the themes, just as if the user were to lock a any field of metadata or image. This script should probably ignore anything that is locked as the user intentionally set it that way.