https://github.com/sivert-io/arr-cleaner
Cleans up stalled or failed downloads from *Arr applications.
https://github.com/sivert-io/arr-cleaner
automation docker python radarr sonarr unraid
Last synced: about 1 year ago
JSON representation
Cleans up stalled or failed downloads from *Arr applications.
- Host: GitHub
- URL: https://github.com/sivert-io/arr-cleaner
- Owner: sivert-io
- License: mit
- Created: 2024-01-26T00:09:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-27T10:25:30.000Z (over 2 years ago)
- Last Synced: 2025-04-06T03:58:24.275Z (about 1 year ago)
- Topics: automation, docker, python, radarr, sonarr, unraid
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🧹 *Arr Cleaner
*Arr Cleaner is a Python script designed to clean stalled downloads in Sonarr and Radarr.
It periodically checks the download queue for stalled items and removes them using CRUD requests.
Original code forked from [MattDGTL](https://github.com/MattDGTL/sonarr-radarr-queue-cleaner).
## Prerequisites
Before running the script, ensure you have the following prerequisites installed:
- Docker *(to run the script in a container, no Python needed)*
- Python 3.9 or higher *(to run the script directly, Python needed)*
## Getting Started
To get started with ***Arr Cleaner**, follow these steps:
1. Clone this repository to your local machine.
2. Copy `example.env` in to a new file called `.env` and edit its contents.
### (option 1): Using Docker:
3. Start a docker container:
```sh
docker-compose up -d --build
```
### (option 2): Run directly using python:
3. Run the script directly:
```sh
python main.py
```
## Installing updates
1. Run `git pull` in the root folder
2. Use whatever method you used to start the script from the previous section
## Contributing
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.