From 543752786333b60c009ce506a34471aaa7bb82da Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 29 Dec 2024 17:06:09 +0800 Subject: [PATCH] fix(qbcommand.v1): qbittorrent 5 support --- plugins/qbcommand/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/qbcommand/__init__.py b/plugins/qbcommand/__init__.py index 78f6916..4f8d497 100644 --- a/plugins/qbcommand/__init__.py +++ b/plugins/qbcommand/__init__.py @@ -622,7 +622,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失败,不过滤该种子")