mirror of
https://github.com/ManiMatter/decluttarr.git
synced 2026-04-18 07:54:05 +02:00
2.1 KiB
2.1 KiB
Decluttarr
Overview
Decluttarr keeps the radarr & sonarr & lidarr queue free of stalled / redundant downloads.
Feature overview:
- Automatically delete downloads that are stuck downloading metadata (& trigger download from another source)
- Automatically delete failed downloads (& trigger download from another source)
- Automatically delete downloads belonging to Movies/TV shows/Music requests that have been deleted in the meantime ('Orphan downloads')
- Automatically delete stalled downloads, after they have been found to be stalled multiple times in a row
- Automatically delete downloads belonging to Movies/TV shows/Music that are unmonitored
You may run this locally by launching main.py, or by pulling the docker image. You can find a sample docker-compose.yml in the docker folder.
Getting started
If you want to run in docker:
- Use
docker/Sample docker-compose.ymlto make yourdocker-compose.ymlfile - Look at
config/config.conf-Explainedfor an explanation of the different settings - Run
sudo docker-compose up -din the directory where yourdocker-compose.ymlis located to create the docker container - Have fun
If you want to run locally:
- Pull decluttarr into whatever location you want with
git clone https://github.com/Fxsch/decluttarr.git - Use
config/config.conf-Exampleto make yourconfig.conffile (needs to be located in the same folder asmain.py) - Look at
config/config.conf-Explainedfor an explanation of the different settings - run
main.py - Enjoy
Credits
- ManiMatter for making this, I just forked it to fix some stuff
- Script for detecting stalled downloads expanded on code by MattDGTL/sonarr-radarr-queue-cleaner
- Script to read out config expanded on code by syncarr/syncarr
- SONARR/RADARR team & contributors for their great product, API documenation, and guidance in their Discord channel
- Particular thanks to them for adding an additional flag to their API that allowed this script detect downloads stuck finding metadata
Disclaimer
This script comes free of any warranty, and you are using it at your own risk.