Deluge BitTorrent client - Git mirror, PRs only https://www.deluge-torrent.org
Go to file
RFBomb 2e466101fc [AutoAdd] Fix magnet missing applied labels
The autoadd function does not apply labels to torrents that are added via magnet files.
Those magnet files are also renamed ".Magnet.Invalid".

Here are two threads discussing the issue, which still exists.

    https://forum.deluge-torrent.org/viewtopic.php?t=55539
    https://dev.deluge-torrent.org/ticket/3295

Here is what Deluged.log shows when the problem occurs:

21:51:38 [ERROR   ][deluge_autoadd.core           :333 ] Cannot Autoadd magnet: /Torrents/TorrentFiles/FileName.magnet: Torrent already in session (e1e0f33b656cb74532dcddc04f2ec52771ef1c26).
21:56:38 [ERROR   ][deluge_autoadd.core           :333 ] Cannot Autoadd magnet: /Torrents/TorrentFiles/FileName2.magnet: Torrent already in session (ef839d84d113cc35719b6fd616a4d8e220de7d32).

After looking at the code, what appears to be happening is the magnet link is added, but then a second scan of the folder occurs. Since the magnet file was never renamed, it will attempt to add it again, error out, then rename the file "magnet.invalid".

The only difference between the torrents working properly and magnets having the issue is the two lines I copy-pasted into the magnet IF statement. This should resolve the issue.
2021-04-17 17:24:58 +01:00
deluge [AutoAdd] Fix magnet missing applied labels 2021-04-17 17:24:58 +01:00
docs [Tests] Fix tox, pytest and travis issues 2020-04-12 17:37:42 +01:00
packaging [Packaging] Move user out of systemd files and add to tarball 2019-06-08 21:31:49 +01:00
.gitattributes [WebUI] Update extjs to 3.4.1.1 2018-10-08 14:47:27 +01:00
.gitignore Update gitignore file 2019-05-14 11:48:58 +01:00
.pre-commit-config.yaml [Lint] Update pre-commit hook and isort versions 2021-01-24 20:40:20 +00:00
.prettierignore [Lint] Format files with Prettier 2018-10-03 18:16:09 +01:00
.prettierrc.yaml [Lint] Format files with Prettier 2018-10-03 18:16:09 +01:00
.pylintrc Cleanup tox configuration 2018-11-02 08:47:57 +00:00
.readthedocs.yml [Docs] Fix missing path in RTD config 2019-05-22 18:01:05 +01:00
.travis.yml [CI/CD] Fix Tox SSL error in Windows Travis job 2021-03-24 10:25:30 +00:00
AUTHORS Update author name as per request 2015-08-17 23:03:48 +01:00
CHANGELOG.md [WebUI] Handle torrent add failures 2019-06-21 09:09:12 +03:00
DEPENDS.md [Docs] Cleanup changelog and docs 2019-06-06 17:12:58 +01:00
LICENSE Update LICENSE in trunk too.. 2009-04-06 21:17:26 +00:00
MANIFEST.in [Packaging] Move user out of systemd files and add to tarball 2019-06-08 21:31:49 +01:00
README.md [Packaging] Cleanup README for Pypi 2019-05-22 11:15:32 +01:00
gen_web_gettext.py [Lint] Use Black to auto-format code 2018-10-03 15:21:53 +01:00
generate_pot.py [GTK] Fixup translation strings 2018-10-21 13:51:30 +01:00
minify_web_js.py Update javascript minifying script 2018-10-16 11:34:55 +01:00
msgfmt.py [Lint] Use Black to auto-format code 2018-10-03 15:21:53 +01:00
pyproject.toml [Lint] Update pre-commit hook and isort versions 2021-01-24 20:40:20 +00:00
requirements-dev.txt [Tests] Fix tox, pytest and travis issues 2020-04-12 17:37:42 +01:00
requirements-tests.txt [Lint] Update pre-commit hook and isort versions 2021-01-24 20:40:20 +00:00
requirements.txt [Tests] Remove python2 from tox config 2019-06-06 11:30:45 +01:00
setup.cfg [Lint] Update pre-commit hook and isort versions 2021-01-24 20:40:20 +00:00
setup.py [Docs] Add spellchecking with pyenchant 2019-06-15 21:06:27 +01:00
tox.ini [CI/CD] Add Travis windows build 2021-02-23 10:41:46 +00:00
version.py [Packaging] Fix get_version with no git command 2019-06-07 14:45:49 +01:00

README.md

Deluge BitTorrent Client

build-status docs-status

Deluge is a BitTorrent client that utilizes a daemon/client model. It has various user interfaces available such as the GTK-UI, Web-UI and a Console-UI. It uses libtorrent at it's core to handle the BitTorrent protocol.

Install

From PyPi:

pip install deluge

From source code:

python setup.py build
python setup.py install

See DEPENDS and Installing/Source for dependency details.

Usage

The various user-interfaces and Deluge daemon can be started with the following commands.

Use the --help option for further command options.

Gtk UI

deluge or deluge-gtk

Console UI

deluge-console

Web UI

deluge-web

Open http://localhost:8112 with default password deluge.

Daemon

deluged

See the Thinclient guide to connect to the daemon from another computer.

Contact