Downloads content from entry URL and loads it into the deluge bittorrent client.

Requirements: Supports Deluge 1.1, 1.2, and 1.3. This will not work if you are running deluge in classic mode, you must switch to running the daemon separately. If you are running deluged as a different user, on a different box, or with a non-default config directory, (something other than ~/.config/deluge) you will need to specify the username and password options that you have set up in your deluge auth file.

If you are installing to a virtualenv, you have to create the virtualenv with the --system-site-packages option. This also applies to an SVN install when running


  path: /media/diska/downloads/
  movedone: /media/diska/tv/
  label: tv
  queuetotop: yes


All options are optional and will default to whatever you have set in deluge. If you wish not to set any of the parameters the format is:

deluge: yes


hostDeluge host (default localhost)
portDeluge port (default 58846)
usernameDeluged username (defaults to automatic client authentication if not specified)
passwordDeluged password (defaults to automatic client authentication if not specified)
pathThe download location
movedoneThe location files will be moved when torrent finishes (the location will be created if it doesn't exist).
labelDeluge label
queuetotopIf yes will move torrent to top of queue when added, if no will move to bottom.
addpausedIf yes, will add the torrents to deluge in the paused state.
maxupspeedSets the maximum upload speed. Must be specified as a decimal (i.e. 1.0)
maxdownspeedSets the maximum download speed.
maxconnectionsSets the maximum connections.
maxupslotsSets the maximum upload slots.
ratioSets the ratio to stop seeding at.
removeatratioIf yes, torrent will be removed from deluge when ratio is reached.
compactIf yes, will allocate torrent in compact mode.
automanagedIf set to false torrents will be added to deluge without the automanaged flag.
content_filenameThis can be used to rename the main file inside the torrent. see here
main_file_onlyIf yes, all files but the main file inside the torrent (>90% of total) will be set to 'do not download'
hide_sparse_filesIf main_file_only is set, all the other (sparse) files will be put inside a hidden directory (name begins with "._"). On by default.
keep_subsIf main_file_only is set, the subtitle file is also downloaded. If content_filename is set, the subtitle file will be renamed too. If hide_sparse_files is set, the subtitle will not be hidden. On by default.


Some plugins allow set: statements as a subcommand. The deluge plugin will read any of the normal parameters from the set: command, except for deluge daemon info (host, port, username, password.) Here is an example using the series module:

Example with set:

      quality: 720p hdtv|webdl
        path: /media/diska/incomplete/
        movedone: "/media/diska/TV/{{series_name}}/"
        label: 720p
      quality: hdtv <720p
        path: /media/diskb/incomplete/
        movedone: "/media/diskb/TV/{{series_name}}/Season {{series_season}}/"
        label: tv
    - name 1
    - name 2
    - name 3
    - name 4:
          movedone: /media/diskb/otherfolder/
          queuetotop: yes
deluge: yes

The more specific set commands will override the less specific ones (i.e. the set command from name 4 will override the set values from the hdtv group.)

Content Renaming

The deluge plugin also supports another advanced feature: content file renaming. This will allow you to change the filename of the main file inside the torrent in deluge. It will only rename a file if it finds that 1 file in the torrent is larger than 90% of the total torrent content. Here is an example configuration:

        content_filename: "{{series_name}} - {{series_id}} - {{quality}}"
        movedone: /home/user/TV/{{series_name}}/Season {{series_season}}/
    - Show Name
deluge: yes

This config uses jinja2 notation to rename the file using information from the series parser. If there was a file called Show.Name.9x15.REPACK.720p.HDTV.x264-IMMERSE.[eztv].mkv inside the torrent, it would be renamed to Show Name - S09E15 - 720p.mkv If there is already a file with the new name present in either the downloading folder, or movedone folder, a trailing number will be added to the filename. i.e. Show Name - S09E15 - 720p(2).mkv

Together with the movedone command, this means all TV series will be downloaded to:

/home/user/TV/Show Name/Season #/Show Name - S##E## - quality.ext

Subtitle files will be downloaded to (see the keep_subs option):

/home/user/TV/Show Name/Season #/Show Name - S##E## -

Mac OSX Users

Should you wish to use the Deluge plugin, Flexget currently requires Deluge to be installed via macports (or source). Flexget is currently unable to interact with a installation (as per ticket 1686 and 1886).

Windows Users

As of r2297 FlexGet should be able to detect Deluge in its install directory if:

  • Deluge is installed in <program files>\Deluge
  • FlexGet is installed with the same Python version Deluge is using (currently 32-bit 2.6, as of Deluge 1.3.5)

You can ignore messages about disconnecting from the daemon in a 'non-clean' fashion. This is normal on Windows.

Last modified 5 months ago Last modified on 10/21/14 17:46:33