[Plugin] RcData - Reference count torrent data for safe removal at any time

Suggest, post, or discuss plugins for Deluge
Post Reply
dubrowgn
New User
New User
Posts: 2
Joined: Sun Apr 11, 2021 9:29 pm

[Plugin] RcData - Reference count torrent data for safe removal at any time

Post by dubrowgn »

Deluge RcData Plugin

Reference count torrent data for safe removal at any time.

https://github.com/dubrowgn/deluge-rc-data
https://github.com/dubrowgn/deluge-rc-d ... tag/v1.0.2

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.

Code: Select all

// rc-data.conf
{
    "dest_dir": "/data/done",
    "ratio": 2.0
}
dubrowgn
New User
New User
Posts: 2
Joined: Sun Apr 11, 2021 9:29 pm

Release v1.0.2

Post by dubrowgn »

https://github.com/dubrowgn/deluge-rc-d ... tag/v1.0.2
  • Fix an issue where torrents would continue to seed if the Deluge UI is stopped
Post Reply