mirror of
https://github.com/d0zingcat/MoviePilot-Plugins.git
synced 2026-05-13 23:16:47 +00:00
fix(crossseed.v1): qbittorrent 5 support
This commit is contained in:
@@ -1164,7 +1164,7 @@ class CrossSeed(_PluginBase):
|
||||
判断种子是否可以做种并处于暂停状态
|
||||
"""
|
||||
try:
|
||||
return torrent.get("state") == "pausedUP" if dl_type == "qbittorrent" \
|
||||
return torrent.get("state") == "pausedUP" or torrent.get("state") == "stoppedUP" if dl_type == "qbittorrent" \
|
||||
else (torrent.status.stopped and torrent.percent_done == 1)
|
||||
except Exception as e:
|
||||
print(str(e))
|
||||
|
||||
Reference in New Issue
Block a user