Giter Site home page Giter Site logo

deluge-autoremoveplus's Introduction

AutoRemovePlus

AutoRemovePlus is a plugin for Deluge that you can use to automatically remove torrents. It's based on AutoRemove 0.6.1 by Omar Alvarez, which in turn is based on 0.1 by Jamie Lennox.

This is a Gtk3UI and WebUI plugin. However, since there is not yet any gtk client for wndows for deluge 2.03, this part is currently untested.

New features:

  • First condition is still a minimum, but the second condition is now maximum. Play with these to accomplish what you want
  • New option that only applies to finished torrents: pause after hours, and remove after hours.
  • Connection to sonarr/lidarr/radarr to blacklist torrent and make the remove through those clients instead. But currently causes http 500 error. Works from command line though.
  • Cleaned up the inconsistent times from days and now it's in hours instead.

Features

  • Select how many torrents are allowed at the same time.
  • Choose to remove or pause them based on multiple criteria age, seeders, seed time or ratio.
  • Set specific removal rules depending on tracker or label.
  • Remove only torrents from specific trackers or labels.
  • Only remove torrents if under a certain HDD space threshold.
  • Select if torrents have to fulfill both or either criteria.
  • Delete torrents in order (e.g. delete torrents with highest ratio first).
  • Don't remove torrents if they don't reach a minimum time (in days) or ratio.
  • Choose the removal interval.
  • Right click and select torrents that you don't want automatically removed.
  • Remove torrent data option.
  • Create an exempted tracker or label list, so that torrents that belong to those trackers or labels are not removed.
  • Fully functional WebUI.

Usage

Look for torrents to remove every hour:

Check every: 1

Remove every torrent that meets minimum criteria:

Maximum torrents: 0

Don't remove torrents unless Deluge has over 500:

Maximum torrents: 500

Delete torrents even if HDD space not under minimum:

Minimum HDD space: -1

Only remove torrents when the main HDD has less than 10 GB free:

Minimum HDD space: 10

Remove torrents that have an availability under 1.0 and were added 4 days ago or more:

Remove by: Availability, Min: 1.0, and, Remove by: Age in days, Max: 4

Remove torrents only according to first criteria:

▪️ Second Remove by: criteria

Pause torrents instead of removing them:

▪️ Remove torrents

The rest of the options are pretty self explanatory

Command line usage

copy mediaserver.py to a folder of your liking and cd to it.

edit /data/server.ini to include the url of your server and api keys for sonarr/radarr/lidarr, can be found under settings->general.

syntax:

python3 mediaserver sonarr queue

returns sonarr queue

python3 mediaserver radarr delete --item=12345567

deletes and blacklists that item and returns {} if successful

Building

Run:

python setup.py bdist_egg

The resulting AutoRemovePlus-x-py2.x.egg file can be found in the /dist directory.

Workarounds

If after building the egg file, the plugin does not load in Deluge:

  • Delete the AutoRemovePlus-x-py2.x.egg in /deluge/plugins directory.
  • Delete the AutoRemovePlus.conf files.
  • Restart Deluge.

deluge-autoremoveplus's People

Contributors

jkaberg avatar omaralvarez avatar springjools avatar treydott avatar

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.