Opened 19 months ago

Last modified 18 months ago

#3545 new bug

Label plugin doesn't remove deleted torrent mappings

Reported by: laur89 Owned by:
Priority: minor Milestone: needs verified
Component: Plugin Version: 2.0.5
Keywords: Cc:

Description

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).

Change History (1)

comment:1 Changed 18 months ago 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

Note: See TracTickets for help on using tickets.