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

2 просмотра
Перейти к первому непрочитанному сообщению

Deluge

не прочитано,
14 февр. 2020 г., 11:44:0714.02.2020
– 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

не прочитано,
14 февр. 2020 г., 11:51:5314.02.2020
– 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>

Ответить всем
Отправить сообщение автору
Переслать
0 новых сообщений