下载中包括暂停

This commit is contained in:
jxxghp 2023-07-02 16:33:08 +08:00
parent 8403ae6795
commit d2152c4341
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ class Qbittorrent(metaclass=Singleton):
if not self.qbc:
return None
torrents, error = self.get_torrents(ids=ids,
status=["downloading"],
status=["downloading", 'paused'],
tags=tags)
return None if error else torrents or []

View File

@ -103,7 +103,7 @@ class Transmission(metaclass=Singleton):
return None
try:
torrents, error = self.get_torrents(ids=ids,
status=["downloading", "download_pending"],
status=["downloading", "download_pending", "stopped"],
tags=tags)
return None if error else torrents or []
except Exception as err: