From 5f4deec6d48378e2a5bda99304c62ea5cd3a19a7 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 29 Dec 2024 17:10:11 +0800 Subject: [PATCH] fix(qbcommand.v2): qbittorrent 5 support --- plugins.v2/qbcommand/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins.v2/qbcommand/__init__.py b/plugins.v2/qbcommand/__init__.py index 44799e9..dab8d71 100644 --- a/plugins.v2/qbcommand/__init__.py +++ b/plugins.v2/qbcommand/__init__.py @@ -678,7 +678,7 @@ class QbCommand(_PluginBase): torrents = [] for torrent in all_torrents: - if torrent.get("state") == "pausedUP": + if torrent.get("state") == "pausedUP" or torrent.get("state") == "stoppedUP": tracker_url = self.get_torrent_tracker(torrent) if not tracker_url: logger.info(f"获取种子 {torrent.name} Tracker失败,不过滤该种子")