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

free space threshold #34

Closed Azlaroc closed 1 year ago

Azlaroc commented 1 year ago

Is your feature request related to a problem? Please describe. I want to make the most of the storage capacity that I have, I want to let it fill up and only purge when free space gets down to 20% then let Eraserr do its thing

Describe the solution you'd like set a certain free space percentage to enable Eraserr deletions

Describe alternatives you've considered scripts that look at drive space then make api calls for deletions

Additional context

everettsouthwick commented 1 year ago

This is something I've considered, but it may be complex to implement. If I can achieve this, this is something I plan to add to the script.

everettsouthwick commented 1 year ago

This has been added as a experimental feature in #45. I recommend extensive testing in dry_run to verify it is working in your environment before enabling it in real execution mode.