[FEATURE] Remove Empty Folders When Moving Original Archive File

So when you use MCE Buddy to remove commericials it moves the file to the archive folder and copies the new file to the new destination (if settings set this way). I use it with plex and have noticed ALOT of empty directories laying around which can be alot of work to parse through and delete being unsure if they are still empty or not.

Typically plex orders them like so,

…/Main Directory/Show Name (Year)/Season x/Episode.ts

I would be nice if it would delte both top two directories if they are empty after moviing the file if a setting is enabled. So it would remove both ShowName (Year) folder along with the Seasons folder.

If you have enabled the delete original file option then MCEBuddy will delete empty directories going up the parent upto the root monitoring folder you’ve configured in the Monitor location.

It currently doesn’t do it when you setup archive folder. You can propose it a feature request in ge feature and bugs request category and based on the votes for it we can implement it.

I’m not sure how many folks think it’s intuitive to delete the empty folder when archiving original files

Okay we decided to give this a try and will see user feedback.

We’ve implemented this feature in today’s 2.4.8 BETA build, try it out (it will be up later tonight)