[Deluge] #3357: get_torrents_status does not return plugin keys

2 views
Skip to first unread message

Deluge

unread,
Feb 14, 2020, 11:44:07 AM2/14/20
to delug...@googlegroups.com
#3357: get_torrents_status does not return plugin keys
--------------------------+----------------------------
Reporter: gazpachoking | Owner:
Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: Core | Version: 2.0.0
Keywords: |
--------------------------+----------------------------
`get_torrents_status` call doesn't report plugin keys on deluge 2.0 when
no list of keys is supplied. My understanding is that when no list of keys
is supplied, it should return all keys, including those from plugins.
(This is how `get_torrent_status` works, as well as to how
`get_torrents_status` worked on deluge 1.3.) In order to get any plugin
keys from this method, they have to be explicitly listed.

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

Deluge

unread,
Feb 14, 2020, 11:51:53 AM2/14/20
to delug...@googlegroups.com
#3357: get_torrents_status does not return plugin keys
---------------------------+----------------------------

Reporter: gazpachoking | Owner:
Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: Core | Version: 2.0.0
Resolution: | Keywords:
---------------------------+----------------------------

Comment (by gazpachoking):

The issue is [https://github.com/deluge-
torrent/deluge/blob/2f1c008a26b50ab3487bd03bcabb39347d441f23/deluge/core/core.py#L783
here]

It checks there are any `plugin_keys` requested, but it doesn't check the
`all_keys` parameter, as happens in [https://github.com/deluge-
torrent/deluge/blob/2f1c008a26b50ab3487bd03bcabb39347d441f23/deluge/core/core.py#L769
get_torrent_status]

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

Reply all
Reply to author
Forward
0 new messages