Git Product home page Git Product logo

deluge-automanage's Introduction

deluge-automanage

A cli to automate Deluge. Currently very minimal.

Install

Download the latest binary and put somewhere in $PATH.

Extract binary

tar -xzvf deluge-automanage_$VERSION_linux_amd64.tar.gz

Move to somewhere in $PATH. Need sudo if not already root. Or put it in your user $HOME/bin or similar.

sudo mv deluge-automanage /usr/bin/

Verify that it runs

deluge-automanage help

This should print Could not read config file.

Configuration

Create a new configuration file .deluge-automanage.toml in $HOME/.config/deluge-automanage/.

mkdir -p ~/.config/deluge-automanage && touch ~/.config/deluge-automanage/.deluge-automanage.toml

A bare minimum config.

[deluge]
host     = "localhost"  # deluge daemon hostname/ip
port     = 30000        # deluge daemon port
login    = "my-user"    # deluge daemon user
password = "my-pass"    # deluge daemon password
version  = "v2"         # deluge version (v1 or v2)
 
[rules]
enabled              = true   # enable or disable rules
max_active_downloads = 1      # set max active downloads

โš ๏ธ NOTICE: Be sure to set the correct Deluge version!

  • If running on HDDs and 1Gbit - max_active_downloads = 2 is a good setting to not overload the disks and gives as much bandwidth as possible to the torrents.
  • For SSDs and 1Gbit+ you can increase this value.

rutorrent-autodl-irssi setup

In rutrorrent, go to autodl-irssi Preferences, and then the Action tab. Put in the following for the global action. This can be set in a specific filter as well.

Choose .torrent action: Run Program
Command: /usr/bin/deluge-automanage
Arguments: add "$(TorrentPathName)"

If you want to grab as many new torrents as possible you can change your filters to grab every torrent that matches and then max_active_downloads will decide if it gets added or not, depending on how many active downloads there currently are.

If there are some filters that you want to be 100% sure gets downloaded, then either use the old deluge-console/watch action for those, or do the inverse and use the global action as deluge-console and specific filters with deluge-automanage.

Or edit via autodl.cfg instead:

[filter example_filter_action]
upload-command = /usr/bin/deluge-automanage
upload-args = add "$(TorrentPathName)"

Usage

Use deluge-automange help to find out more about how to use.

Commands:

  • add

Flags:

  • --config - use other config file

Add

Flags:

  • --paused - add torrent in paused state
  • --label - add a label to torrent
  • --save-path - save torrent to path

Add a new torrent to deluge.

deluge-automanage add my-torrent-file.torrent

deluge-automanage's People

Contributors

ludviglundgren avatar

Stargazers

 avatar  avatar

Watchers

 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.