[Deluge] #3545: Label plugin doesn't remove deleted torrent mappings

7 views
Skip to first unread message

Deluge

unread,
Aug 12, 2022, 6:55:34 AM8/12/22
to delug...@googlegroups.com
#3545: Label plugin doesn't remove deleted torrent mappings
----------------------------+--------------------
Reporter: laur89 | Type: bug
Status: new | Priority: minor
Milestone: needs verified | Component: Plugin
Version: 2.0.5 | Keywords:
----------------------------+--------------------
As-is:

Whenever Label plugin applies a label, it's recorded in
label.conf/'''torrent_labels''' map.
If torrent is removed, then this mapping is not removed, causing it to
ever-increase.

To-be:

add torrentremoved event handler to the plugin, which is to remove said
mapping from label.conf whenever torrent is deleted (for whatever reason).

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3545>
Deluge <https://deluge-torrent.org/>
Deluge Project

Deluge

unread,
Aug 25, 2022, 7:53:52 PM8/25/22
to delug...@googlegroups.com
#3545: Label plugin doesn't remove deleted torrent mappings
---------------------+----------------------------
Reporter: laur89 | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: Plugin | Version: 2.0.5
Resolution: | Keywords:
---------------------+----------------------------

Comment (by DjLegolas):

confirmed, but note that when i have added a new torrent to the label, the
removed torrent was deleted from the config.

PR: https://github.com/deluge-torrent/deluge/pull/397

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3545#comment:1>

Reply all
Reply to author
Forward
0 new messages