Setting up Deluge with DuckieTV - SchizoDuckie/DuckieTV GitHub Wiki

This is a step by step guide on how to set-up Deluge with DuckieTV. This guide is based on my installation on the Windows 7 platform, but this guide should hold true across other platforms (more or less).

Pre requisites:

Deluge 2.1.1 Get the last version at the official download site here

Note: Maintenance and Development of Deluge appears to have halted, with no new releases since July 2022

DuckieTV 1.1.5 or newer. Get the latest version at the official download site here
Dtv Nightly. Get the latest version at the official download site here

Documents

The Deluge user guide can be found at http://dev.deluge-torrent.org/wiki/UserGuide


Once you have installed and started Deluge, we need to

enable the Web UI plugin.

  • Click on the Edit menu and select Preferences

  • Scroll down the Categories list, and click on the Plugins entry

  • Enable the Web UI plugin by clicking on its check box

Now we can

access the Web Ui configuration page.

  • Access the Web UI settings page by clicking on the Web UI entry in the Categories list.

  • Enable the Web Interface by clicking on its check box, then click on the Apply and OK buttons.


Note:

  • SSL is currently not supported

Start up DuckieTV and

configure the DuckieTV Deluge Integration.

  • Start up DuckieTV and click on the Settings Icon

  • And then click on the Torrent button

  • Now click on the Deluge button

  • Next, click on the Deluge Integration button

  • if you want to change the default Deluge Web UI password, read the FAQ here and enter your chosen Web UI password in the Password box.

  • if you are running Deluge on a different computer then enter its ip address in the Deluge Address box.

  • Now click on the Test and Save button

  • You are connected!

If all went well, you should see a green dot next to the DuckieTV Deluge Icon on the left hand side and a Status: Connected to Deluge Web API on the right hand side.
Please note that being connected is not a guarantee that everything is operational. Some clients have further validation that only occurs during submissions of commands and requests for results.

Gotcha

DuckieTV polls Deluge every 3 seconds to fetch the download status. If you are using Deluge's Share Ratio option to remove the torrent, then do not set the ratio trigger too low, or you may end up removing the torrent from Deluge before Dtv has had a chance to see the download reach 100%. If Dtv thinks the torrent has vanished it will flag the download as lost and not mark the episode as downloaded.

Problems?

  • Did you get the password on the DuckieTV Deluge Integration panel wrong? When you press the Test and Save button, and the test fails, DuckieTV does not save the password (or any of the other fields), so when you try again, you will need to enter the new password again, as well as any of the other fields you may have changed previously.
  • If you previously tried a connection and failed, and subsequently followed this guide and are still not connected, first try clicking on the DuckieTV Deluge icon on the left. This will retry the connection attempt.
  • If the connection is still not established, try closing both Deluge and DuckieTV and starting them up again. Then click on the DuckieTV Deluge icon to try establishing a connection.
  • Still not connected? See if you can connect and login to the Deluge WEBUI directly via your Browser. for example, at the address box paste http://localhost:8112 and press enter. You should get the Login challenge followed by the Deluge torrent page if successful. If this does not work then you know the problem is with your Deluge setup or with some system setup, such as firewall or antivirus or network or something.
  • Could your local firewall or security app or router be blocking Dtv from accessing the inbound/outbound Deluge port? Do you need to add a permission rule?
  • Check the DuckieTV console log for errors, by pressing the F12 key (on Windows and Linux) or Cmd-Alt-I (OSX) to open the development tools page, and clicking on the console tab to view the log. and feel free to raise a ticket on GitHub here, or submit a post on Reddit here