fix(qbcommand.v1): qbittorrent 5 support

This commit is contained in:
Ray
2024-12-29 17:06:09 +08:00
committed by GitHub
parent ea6d9b8baa
commit 5437527863

View File

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