everettsouthwick / Eraserr

Python script for deleting unwatched or stale media from Plex servers using Radarr, Sonarr, and Overseerr.
GNU General Public License v3.0
24 stars 1 forks source link

Ignore by user or library path #18

Closed 8a8al00ey closed 1 year ago

8a8al00ey commented 1 year ago

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like Be able to run the script and have it ignore media removal if the request was from a specific user and/or if the media is in a specific path.

Describe alternatives you've considered None

Additional context None

everettsouthwick commented 1 year ago

Thank you for the suggestion! I've thought about ways to exclude media from being deleted and I think the best approach would be to use custom tags on Radarr/Sonarr to indicate that you want that to be excluded from being deleted. I will add this to the backlog for future implementation.

everettsouthwick commented 1 year ago

Tag exemption has been implemented in #21. With this change, the configuration has been moved from .env to config.json to provide more structure for configuration. You can modify the services in Overseerr to add a tag for users when they request things to implement it based on the user who requested in Settings -> Services: image