Giter Club home page Giter Club logo

deluge-rc-data's Introduction

Deluge RcData Plugin

Reference count torrent data for safe removal at any time.

Deluge Forum Thread

Explanation

This is a Deluge plugin that does 2 things:

  1. On torrent download completion, recursively hard-links files to dest_dir.
  2. On seeding torrent ratio > ratio, automatically remove torrent with original data.

This allows your seedbox to automatically clean up when a target ratio is reached without worrying about whether it's safe to do so. Conversely, when you're done with the files, you can safely remove them from dest_dir without worrying about whether the seedbox is done with the data yet.

Example config

Enabling the plugin creates a default config, which you can modify to suit your needs.

// rc-data.conf
{
    "dest_dir": "/data/done",
    "ratio": 2.0
}

Building

python3 ./setup.py bdist_egg

Known Issues

  • Linux is unable to hard-link across mount points or file systems.
  • If you are using Deluge in a docker container, both dest_dir and your data directory must be in the same docker volume.
  • No Windows support.

deluge-rc-data's People

Contributors

dubrowgn avatar

Watchers

 avatar  avatar  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.