Code Monkey home page Code Monkey logo

cleanarr's Introduction

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 ?

cleanarr's People

Contributors

hrenard avatar dependabot[bot] avatar

Stargazers

 avatar  avatar Kristoffer Lerbæk Pedersen avatar  avatar Jeff Statz avatar  avatar  avatar bozzfozz avatar Brandon Brown avatar Aelfa avatar Shawn Noble avatar Shaun avatar JoaoPSVieira avatar  avatar Miguel Vaello avatar  avatar  avatar

Watchers

 avatar Arjen Hissink avatar

cleanarr's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.