Kometa-Team / ImageMaid

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

Cleanup flags have (undocumented-) direct dependency on PLEX_URL #66

Open cbrunnkvist opened 1 month ago

cbrunnkvist commented 1 month ago

Version Number

1.0.2 (Python 3.11.0rc1)

What branch are you on?

master

Describe the Bug

As soon as you enable one of PHOTO_TRANSCODER, EMPTY_TRASH or CLEAN_BUNDLES, you seem to break "local mode": any of these three options cause error:

|======================================== Validating Options ========================================|
| Running in Report Mode with Empty Trash, and PhotoTrancoder set to True                            |
| Report: Metadata Directory File changes will be reported but not performed.                        |
| Connecting To Plex                                                                                 |
|====================================================================================================|
| Args Error: No Plex URL Provided                                                                   |
|====================================================================================================|
|====================================================================================================|
|                                          Critical Report                                           |
|====================================================================================================|
|                                                                                                    |
| Generic Criticals:                                                                                 |
|   Args Error: No Plex URL Provided                                                                 |

So as far as I can see, "LOCAL_DB" doesn't seem to have any point if you need to go through the API to clean up, anyway.

Logs

No response