#1246: With every restart deluge loses some torrent label's
-----------------------+----------------------------------------------------
Reporter: simonbcn | Owner:
Type: bug | Status: reopened
Priority: major | Milestone: 1.3.3
Component: plugin | Version: 1.3.1
Resolution: | Keywords: label
-----------------------+----------------------------------------------------
Changes (by Cas):
* cc: gazpachoking (added)
* priority: minor => major
* milestone: 1.3.x => 1.3.3
Comment:
Thanks to the logs provided by raxxy I can now pinpoint the issue. Labels
with autoadd enabled will trigger clean_config to be called before all the
torrents have been loaded from the state file upon startup. This means any
torrent not added to the session at that point will be removed from
label.conf.
[http://git.deluge-
torrent.org/deluge/tree/deluge/plugins/label/label/core.py?h=1.3-stable#n313
Label core.py]
A possible solution: Upon enabling the plugin, register the handler for
!SessionStartedEvent and when received apply the labels to those loaded
torrents then register the handler for !TorrentAddedEvent and carry on as
per usual.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1246#comment:15>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.