mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 23:17:20 +08:00
下载中包括暂停
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user