radarr_autodelete
Simple script, which deletes movies with a specific tag after a certain amount of days
Pip Packages
pip3 install pyarr python-dotenv
Running
- Clone this repo and cd into the cloned dir
- Create a
.env
file - Add the following envs to
.env
RADARR_APIKEY= RADARR_HOST=
- Add your API Key and Hostname or IP
- Run this script with
python3 radarr_autodelete.py --keeptime 30 --filtertag NameOfYourList
Arguments
-
keeptime The keeptime arguments only expects full days and defaults to 30 days.
-
filtertag This is the tag this script will look for. This means untagged movies or movies with a different tag will not be touched. filtertag has to be provided
-
dryrun This is meant to show which movies would be deleted if the flag wasnt set. With this flag set to
true
no movies would be deleted. The flag has to be a boolean, so eithertrue
orfalse
. The flag can also be ommited, which is equal to setting this flag to false.