A lightweight Python script to check your Radarr and Sonarr media libraries against Aither's uploaded movie torrents. As this script becomes more granular, and checking against Aither's resolutions, editions etc. it is more and more recommended you double check before proceeding to upload!
- Compare your Radarr and Sonarr libraries with Aither's torrent listings.
- Log missing movies and TV shows from your libraries, respecting banned groups, trumpables, etc.
- Respect Aither's API rate limits.
- Python 3.x installed on your system.
- Radarr and/or Sonarr configured and running.
-
Clone this repository:
git clone https://github.com/brah/aither-exists-check.git
-
Navigate to the project directory:
cd aither-exists-check -
Install the required Python packages:
pip install -r requirements.txt
- Clone this repository:
git clone https://github.com/brah/aither-exists-check.git
- Navigate to the project directory:
cd aither-exists-check - Build the docker image:
docker build -t aither-exists-check:latest . - Run the docker image. Correct the paths below to map correct config file location and output directory.
docker run --user 1000:1000 --name aither-exists --rm -it \ -v ./config/apiKey.py:/aither-exists-check/apiKey.py \ -v ./output:/output/ \ aither-exists-check:latest --radarr
-
Create a file named
apiKey.pyin the project directory with the following contents - refer to apiKeySample.py:aither_key = "" radarr_key = "" sonarr_key = "" radarr_url = "" sonarr_url = ""
-
The first time you run the script, you'll be prompted to input your API keys and URLs. The script saves these to
apiKey.pyfor future use.
To run the script, use one of the following commands:
-
To check the Radarr library:
python main.py --radarr
-
To check the Sonarr library:
python main.py --sonarr
-
To check both libraries (default):
python main.py
The script generates two output files:
not_found_radarr.txt: Lists movies in Radarr not found in Aither.not_found_sonarr.txt: Lists shows in Sonarr not found in Aither.
Detailed logs are stored in script.log, while concise output is displayed on the console.
Special thanks to those who have contributed: