Kometa-Team / ImageMaid

Python 3 Script for Cleaning Up Images in Plex
MIT License
255 stars 12 forks source link

[Errno 21] Is a directory: '/plex/Cache/PhotoTranscoder/00/@eaDir/00b959bf164c4caca6030af7cd2ba0ebab77d1d3.jpg' #33

Open bbtufty opened 5 months ago

bbtufty commented 5 months ago

Version Number

1.0.2

What branch are you on?

master

Describe the Bug

It seems like crashes can occur on Synology machines where it tries (and fails) to remove files in any @eaDir. I've seen it mostly happen in the remove PhotoTranscoder step. Synology creates these directories automatically but I suspect this can be sorted with an "if @eaDir in filename" check before trying to remove the files

Logs

No response