This script will automatically sort new downloaded movies based on filter functions selected & their parameters defined in the .env file
- Clone the repo into folder accessible by radarr
- Make sure all files have permissions and are executable
- Add script to Radarr
- Settings > Connect > Add Custom Script
- Give script title
- Only check 'On Movie Added'
- Locate and select sort.sh script in "path"
- Click Save
- Rename .env.example file to .env
If using docker, make sure to create and map a /scripts/ directory to the container
-
RADARR_URL
- your radarr ip/domain for api access. -
RADARR_API_KEY
- your radarr API Key- Found in Radarr > Settings > General > API Key
-
#Genres
- defined genres- Add desired genre
- Follow the
GENRE_<CHANGE>
format
-
#Directories
- defined directories- Add location for the files
- Follow the
DIR_<CHANGE>
format