更新qbittorrent下载判断值
https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list pausedDL Torrent is paused and has NOT finished downloading
This commit is contained in:
parent
fdec997ed0
commit
f2f1ecfdf1
@ -206,7 +206,7 @@ class QbittorrentModule(_ModuleBase):
|
||||
season_episode=meta.season_episode,
|
||||
progress=torrent.get('progress') * 100,
|
||||
size=torrent.get('total_size'),
|
||||
state="paused" if torrent.get('state') == "paused" else "downloading",
|
||||
state="paused" if torrent.get('state') == "pausedDL" else "downloading",
|
||||
dlspeed=StringUtils.str_filesize(torrent.get('dlspeed')),
|
||||
upspeed=StringUtils.str_filesize(torrent.get('upspeed')),
|
||||
left_time=StringUtils.str_secends(
|
||||
|
Loading…
x
Reference in New Issue
Block a user