下载中包括暂停
This commit is contained in:
parent
8403ae6795
commit
d2152c4341
@ -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 []
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user