From f2f1ecfdf1c66441546945cd425993a9de8c4fb0 Mon Sep 17 00:00:00 2001 From: falling Date: Sun, 21 Jan 2024 19:51:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0qbittorrent=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list pausedDL Torrent is paused and has NOT finished downloading --- app/modules/qbittorrent/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/qbittorrent/__init__.py b/app/modules/qbittorrent/__init__.py index e58440b4..eb3f1e63 100644 --- a/app/modules/qbittorrent/__init__.py +++ b/app/modules/qbittorrent/__init__.py @@ -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(