This commit is contained in:
mayun110 2023-08-24 20:31:32 +08:00
parent 86d7dceb84
commit 81a29d3604

View File

@ -83,8 +83,8 @@ class Qbittorrent(metaclass=Singleton):
"""
if not self.qbc:
return None
# completed会包含移动状态 更改为获取活动上传状态和正在做种状态
torrents, error = self.get_torrents(status=["completed"], ids=ids, tags=tags)
# completed会包含移动状态 改为获取seeding状态 包含活动上传, 正在做种, 及强制做种
torrents, error = self.get_torrents(status=["seeding"], ids=ids, tags=tags)
return None if error else torrents or []
def get_downloading_torrents(self, ids: Union[str, list] = None,