cleanarr

command module
v0.0.0-...-50a2f59 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

README

Cleanarr

A small utility tasked to automatically clean radarr and sonarr files over time.

The idea is to have a "rolling" media library where old media is deleted either because the disk quota is exceeded or because it has been there too long.

Usage

Configuration
#config.yml
interval: 1 # optional, check every minutes

radarr:
  - name: "radarr4k" # requried
    hostPath: "https://radarr.mydomain.com" # required
    apiKey: "xxxxxxxxxxx" # required
    maxDays: 90 # optional if maxSize
    maxSize: "2TB" # optional if maxDays

sonarr:
  - name: "sonarr" # requried
    hostPath: "https://sonarr.mydomain.com" # required
    apiKey: "xxxxxxxxxxx" # required
    maxDays: 90 # optional if maxSize
    maxSize: "2TB" # optional if maxDays
Docker
$ docker run -v $PWD/config.yml:/config.yml ghcr.io/hrenard/cleanarr

Roadmap

  • Radarr
    • Days policy
    • Size policy
    • Quantity policy
  • Sonarr
    • Days policy
    • Size policy
    • Quantity policy
    • Unmonitor season when all episodes are unmonitored ?
    • Remove serie when all episodes are unmonitored ?

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL