Setting up autodl-irssi and Deluge via deluge-console

This tutorial assumes the following:

  • You have a working autodl-irssi setup (filters + IRC server + Tracker passkey/RSS Key input)
  • You have Deluge and ruTorrent installed
    • If you're not planning to use rTorrent as your torrent client, you can install ruTorrent without rTorrent. ruTorrent is only used to get access to autodl-irssi configuration UI.

  • Login to your UCP, SSH and rutorrent Interface
  • On your SSH window, execute which deluge-console and take note of the output
kbguides@lw902:~$ which deluge-console
/home6/kbguides/bin/deluge-console # TAKE NOTE OF THIS OUTPUT. YOU WILL NEED THIS LATER
  • Go to your ruTorrent interface. Click the autodl-irssi icon then click Preferences
  • Go to action Tab and input the following
    • Choose .torrent action = Run program
    • Command = Output of which deluge-console
    • Arguments = connect<deluge_daemon_port> <username> <password>; "add $(TorrentPathName)" ; quit
      • Where
        • deluge_daemon_port = Daemon Port of deluge
        • username = your Deluge Username
        • password = Your set deluge password
        • Details are in Deluge's Remote Access details in UCP
      • Press OK and confirm that your configuration files are loaded by checking the output of autodl-irssi window in ruTorrent

  • Go back to your SSH window. Decide where you want to save the script. Here, it is saved to a folder named scripts to make easy to organize. Create a folder named scripts with mkdir scripts
kbguides@lw902:~$ mkdir scripts
  • Navigate to the newly created folder with cd scripts
kbguides@lw902:~$ cd scripts
  • Then, download the script to your seedbox using the following command
kbguides@lw902:~/scripts$ wget
--2019-06-03 10:17:06--
Resolving (,,, ...
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 955 [text/plain]
Saving to: ‘’               100%[=============================================================>]     955  --.-KB/s    in 0s
2019-06-03 10:17:07 (17.2 MB/s) - ‘’ saved [955/955]
  • Open up using your preferred text editor. In this tutorial, we'll be using nano. So do nano

  • Then, replace the following with the information from Deluge's Remote Access Details in UCP.

  • Find this exact line in the config and change the values accordingly
# This script required the from$

# Change the below output location to any folder owned by your user for which you have write permissions


# Update the ip, port, username and pass below according to your configuration
  • After you edit the necessary information, save it with CTRL + O then exit nano with CTRL + X

  • Then, make the script executable by doing chmod +x

  • To remove the invisible line endings, execute sed -i 's/\r$//g'

kbguides@lw902:~/scripts$ nano
kbguides@lw902:~/scripts$ chmod +x
kbguides@lw902:~/scripts$ sed -i 's/\r$//g'
  • Then, get the absolute path of the script by executing readlink -f and take note of the output. This is the absolute of of your script.
kbguides@lw902:~/scripts$ readlink -f
  • Login to Deluge's WebUI via UCP or Deluge's Thin Client
  • Click PreferencesPluginsCheck Execute Plugin

  • Click the Execute Category and Press Add
  • Input the following
    • Event = Torrent Added
    • Command = The absolute path of the autoresume script
  • After that, click add. Then Press OK.
  • Close Deluge then restart your deluge instance via UCP or SSH (app-deluge restart)

Revision #1
Created Sun, Jun 14, 2020 1:26 PM by Xan
Updated Sun, Jun 14, 2020 1:26 PM by Xan