mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
queue pos in state
This commit is contained in:
parent
dc7f5086a0
commit
f9ee7f4255
1 changed files with 3 additions and 0 deletions
|
@ -339,6 +339,9 @@ class manager:
|
||||||
if self.get_supp_torrent_state(unique_ID) is not None:
|
if self.get_supp_torrent_state(unique_ID) is not None:
|
||||||
ret.update(self.get_supp_torrent_state(unique_ID))
|
ret.update(self.get_supp_torrent_state(unique_ID))
|
||||||
|
|
||||||
|
# Get queue position
|
||||||
|
ret['queue_pos'] = self.queue.index(unique_ID)
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
def get_torrent_peer_info(self, unique_ID):
|
def get_torrent_peer_info(self, unique_ID):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue