Skip to content

RandomNinjaAtk/arr-scripts-v2

Repository files navigation

arr-scripts-v2

This project is my own personal documenation for various scripts I've written to improve and further automate the usage of the ARR suite of apps. Support is not guaranteed, scripts are provided as-is...

Installation

Container Setup

docker-compose (example)

services:
  arr-scripts:
    image: lsiobase/alpine:3.23
    container_name: arr-scripts
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - /path/to/arr-scripts/config:/config
      - /path/to/arr-scripts/config/custom-services.d:/custom-services.d
      - /path/to/arr-scripts/config/custom-cont-init.d:/custom-cont-init.d #optional
    restart: unless-stopped

unraid (example)

image

Script Download and Configuration

  1. Download settings.conf and place it into: /config folder
  2. Download any of the following scripts and place them into /custom-services.d folder
    • Queue-Cleaner.bash
      • Script removes downloads that are stuck in queue because they cannot auto-import without intervention
    • Radarr-Invalid-Movie-Auto-Cleaner.bash
      • Script removes invalid movies that are reported by Radarr...
    • Radarr-UnmappedFolderCleaner.bash
      • Script removes/deletes unmapped folders reported by Radarr...
      • Script requires mapping a volume that matches Radarr's configuration for stored files...
    • Sonarr-Invalid-Series-Auto-Cleaner.bash
      • Script removes invalid series that are reported by Sonarr...
    • Sonarr-UnmappedFolderCleaner.bash
      • Script removes/deletes unmapped folders reported by Sonarr...
      • Script requires mapping a volume that matches Sonarr's configuration for stored files...
    • Sonarr-DailySeriesEpisodeTrimmer.bash
      • Script Unmonitors and Deletes files for series that are considered "Daily" or tagged as "daily"... Useuful for only keeping the latest episodes and not all episodes of a daily type of show...
    • Lidarr-MusicAutomator.bash
      • Script performs Lidarr wanted Missing and Cutoff searches, downloads matches it finds using a popular CLI tool and notifies Lidarr to import them.
      • Important to map volumes correctly in both containers or imports will simply fail... and not be so automated :(
  3. Modify edit settings.conf (/config/settings.conf) with your appropriate settings
    • Support added for multiple .conf files to support multiple instances... Create/duplicate the settings.conf file as many times as needed to allow the scripts to run against multiple instances. Do not use spaces in the file name.
  4. Start or Restart the container

Monitoring

  • Logs will be generated for each script and be located in the /config/logs folder.
  • You can also monitor the containers logs to see the scripts logging output live...

Support Info

Scripts are provided as-is...

Generally, if a script works one time, it will work everytime, that is the nature of scripts... So if you're experiencing an issue that has not been previously reported and is more likely a technical problem of some sort, it is more than likely caused by user error...

Please note that use of arr-scripts is not supported by the Arr app's community. The scripts do not modify the software/code of the Arr app, all changes to the Arr app are implemented using publicly available API calls.

About

Arr Scripts v2 - ARR App Suite Automation scripts to make life easier!

Topics

Resources

License

Stars

Watchers

Forks

Languages