fix(qbcommand.v2): qbittorrent 5 support

This commit is contained in:
Ray
2024-12-29 17:10:11 +08:00
committed by GitHub
parent e5fe8ea14f
commit 5f4deec6d4

View File

@@ -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失败不过滤该种子")