Recyclarr will help you to automate the configuring Radarr/Sonarr qualities.
You'll find here the following instructions to be able to download files in that specific quality:
MULTi
(Original version + Truefrench (in my case))1080p
h264
- and no
HDR
or10 bits
(for the last one, refer to the custom script part)
For more detailed instructions and additional configurations, please refer to the Recyclarr wiki.
To install Recyclarr, follow these steps:
- Ensure you have Docker and Docker Compose installed on your system.
- Create necessary directories and change directory to
recyclarr
:mkdir -p recyclarr/config cd recyclarr
- Download the provided
docker-compose.yaml
:curl -O https://raw.githubusercontent.com/garnajee/home-server/master/recyclarr-setup/docker-compose.yaml
Warning
This docker-compose is associated with the net-chill
docker subnet. Recyclarr needs to be on the same subnet as radarr and sonarr.
- Download the provided
.env-example
file (the command renamed it to.env
). Modify the.env
file according to your environment:curl -o .env https://raw.githubusercontent.com/garnajee/home-server/master/recyclarr-setup/.env-example
Throughout the process you must be in the recyclarr
folder
Run the following command to initialize Recyclarr:
docker-compose run --rm recyclarr config create
This will also create a starter configuration file (config/recyclarr.yml
), but we won't use this one.
After launching the first-time setup, download my predefined Radarr and Sonarr configuration files:
curl -o config/configs/radarr.yml https://raw.githubusercontent.com/garnajee/home-server/master/recyclarr-setup/radarr.yml
curl -o config/configs/sonarr.yml https://raw.githubusercontent.com/garnajee/home-server/master/recyclarr-setup/sonarr.yml
Modify the configuration of radarr.yml
and sonarr.yml
(located in config/config/
) and especially the base_url
and api_key
fields.
Then, launch Recyclarr again:
docker-compose up -d
Then, enter the Recyclarr container shell:
docker-compose exec -it recyclarr bash
Inside the container shell, execute the following commands:
- List local config files:
# recyclarr config list local
- Sync Radarr:
# recyclarr sync --config radarr.yml
- Sync Sonarr:
# recyclarr sync --config sonarr.yml
After setting up the Recyclarr configurations, there are a few additional configurations you need to do:
- Open your Radarr or Sonarr web interface.
- Navigate to Settings > Profiles.
- Click on your newly created profile ("Any")
- Locate the "Language" option and set it to "Any" to ensure maximum compatibility
- In your Radarr or Sonarr web interface, go to Settings > Profiles.
- Find the default profile and remove it, as it may conflict with Recyclarr's custom profiles imported.
I created a Python script for importing custom formats.
If you have specific requirements, you can use my script to import your custom format into Radarr/Sonarr. You'll have to modify the "json_file_path
" value in the script.
In order to use the import-cf.py
script, follow these steps:
- install the
requests
lib:pip install requests
- download the script and custom format:
curl -O https://raw.githubusercontent.com/garnajee/home-server/master/recyclarr-setup/10bits.json
curl -O https://raw.githubusercontent.com/garnajee/home-server/master/recyclarr-setup/import-cf.py
- modify the script: Change the value of
base_url
andapi_key
with your Radarr/Sonarr corresponding values. - run the script:
python3 impor-cf.py