diff --git a/plugins.v2/iyuuautoseed/__init__.py b/plugins.v2/iyuuautoseed/__init__.py index 130da1c..7cbf8a8 100644 --- a/plugins.v2/iyuuautoseed/__init__.py +++ b/plugins.v2/iyuuautoseed/__init__.py @@ -1018,7 +1018,7 @@ class IYUUAutoSeed(_PluginBase): 判断种子是否可以做种并处于暂停状态 """ try: - return torrent.get("state") == "pausedUP" if dl_type == "qbittorrent" \ + return torrent.get("state") == "pausedUP" or torrent.get("state") == "stoppedUP" if dl_type == "qbittorrent" \ else (torrent.status.stopped and torrent.percent_done == 1) except Exception as e: print(str(e)) 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失败,不过滤该种子") diff --git a/plugins/crossseed/__init__.py b/plugins/crossseed/__init__.py index 82fb138..95586bf 100644 --- a/plugins/crossseed/__init__.py +++ b/plugins/crossseed/__init__.py @@ -1164,7 +1164,7 @@ class CrossSeed(_PluginBase): 判断种子是否可以做种并处于暂停状态 """ try: - return torrent.get("state") == "pausedUP" if dl_type == "qbittorrent" \ + return torrent.get("state") == "pausedUP" or torrent.get("state") == "stoppedUP" if dl_type == "qbittorrent" \ else (torrent.status.stopped and torrent.percent_done == 1) except Exception as e: print(str(e)) diff --git a/plugins/iyuuautoseed/__init__.py b/plugins/iyuuautoseed/__init__.py index d1d528e..525e2ed 100644 --- a/plugins/iyuuautoseed/__init__.py +++ b/plugins/iyuuautoseed/__init__.py @@ -1006,7 +1006,7 @@ class IYUUAutoSeed(_PluginBase): 判断种子是否可以做种并处于暂停状态 """ try: - return torrent.get("state") == "pausedUP" if dl_type == "qbittorrent" \ + return torrent.get("state") == "pausedUP" or torrent.get("state") == "stoppedUP" if dl_type == "qbittorrent" \ else (torrent.status.stopped and torrent.percent_done == 1) except Exception as e: print(str(e)) 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失败,不过滤该种子")