下载中包括暂停
This commit is contained in:
parent
8403ae6795
commit
d2152c4341
@ -95,7 +95,7 @@ class Qbittorrent(metaclass=Singleton):
|
|||||||
if not self.qbc:
|
if not self.qbc:
|
||||||
return None
|
return None
|
||||||
torrents, error = self.get_torrents(ids=ids,
|
torrents, error = self.get_torrents(ids=ids,
|
||||||
status=["downloading"],
|
status=["downloading", 'paused'],
|
||||||
tags=tags)
|
tags=tags)
|
||||||
return None if error else torrents or []
|
return None if error else torrents or []
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ class Transmission(metaclass=Singleton):
|
|||||||
return None
|
return None
|
||||||
try:
|
try:
|
||||||
torrents, error = self.get_torrents(ids=ids,
|
torrents, error = self.get_torrents(ids=ids,
|
||||||
status=["downloading", "download_pending"],
|
status=["downloading", "download_pending", "stopped"],
|
||||||
tags=tags)
|
tags=tags)
|
||||||
return None if error else torrents or []
|
return None if error else torrents or []
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user