Closed Desy10140 closed 1 year ago
media_manager.py is the current improvement on the two deletion based on watch status scripts TV and movies. I've been neglecting this project for awhile so I probably won't ever get to this one as it's very complex (gui and the use of more services).
Improvement on Delete watched TV: https://github.com/blacktwin/JBOPS/blob/master/utility/delete_watched_TV.py
The idea is a script that would automate a retention policy for your plex server via Tautulli, radarr and sonarr
Basic function: If library item Hasn't been watched for X number of days If Library item has NEVER been watched and is XX number of days since added Then Delete file, Delete Plex renditions if they exist, remove from Radarr, Remove from Sonarr and unmonitor
Additional nice to have features:
I've looked at Plex Cleaner but it's been abandoned. I've seen a few bespoke scripts but nothing that really talks to the larger ecosystem of apps.