Skip to content

Python script for deleting unwatched or stale media from Plex servers using Radarr, Sonarr, and Overseerr.

License

Notifications You must be signed in to change notification settings

everettsouthwick/Eraserr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2f5c2f3 Â· Nov 27, 2024
Oct 10, 2023
Jul 7, 2023
Oct 20, 2023
Jul 15, 2023
Jun 29, 2023
Sep 13, 2023
Sep 23, 2023
Jul 15, 2023
Jun 29, 2023
Nov 27, 2024
Sep 23, 2023
Sep 26, 2023
Oct 26, 2023
Oct 4, 2023

Repository files navigation

Eraserr

image

👋 Check out my AI project Seren!

Eraserr is a Python script designed to help keep your Plex servers clean. It deletes unwatched or stale media by leveraging the functionality of Radarr, Sonarr, and Overseerr.

Table of Contents

Installation

Prerequisites

  1. First, clone the script to your machine and navigate to the resulting directory:
git clone https://github.com/everettsouthwick/Eraserr.git
cd Eraserr
  1. Then, install the required packages to run the script:
pip install -r requirements.txt

Usage

To use the script, run the following command:

python eraserr.py

Docker

Pulling the image

You can pull the latest container image from the Docker repository by running the following command:

docker pull ecsouthwick/eraserr

To pull the develop branch from the Docker repository, add the :develop tag to the above command:

docker pull ecsouthwick/eraserr:develop

Running the Container

Once you have pulled the image from docker, you may use the following command to run the container:

docker run -d --name eraserr --volume /path/to/config.json:/app/config.json ecsouthwick/eraserr

Note: The recommended restart policy for the container is on-failure or no.

Configuration

  1. Copy config.example.json to config.json.
  2. See CONFIGURATION.md for detailed instructions on setting up config.json.