fix #895
This commit is contained in:
parent
3aac617f35
commit
e018f77e37
@ -211,7 +211,7 @@ class QbittorrentModule(_ModuleBase):
|
||||
:param hashs: 种子Hash
|
||||
:return: bool
|
||||
"""
|
||||
return self.qbittorrent.start_torrents(ids=hashs)
|
||||
return self.qbittorrent.stop_torrents(ids=hashs)
|
||||
|
||||
def torrent_files(self, tid: str) -> Optional[TorrentFilesList]:
|
||||
"""
|
||||
|
@ -969,6 +969,13 @@ class MediaSyncDel(_PluginBase):
|
||||
self.chain.stop_torrents(torrent_hash)
|
||||
handle_cnt += 1
|
||||
|
||||
logger.info(f"暂停转种后下载任务:{download} - {download_id}")
|
||||
# 删除转种后下载任务
|
||||
if download == "transmission":
|
||||
self.tr.stop_torrents(ids=download_id)
|
||||
else:
|
||||
self.qb.stop_torrents(ids=download_id)
|
||||
handle_cnt += 1
|
||||
else:
|
||||
# 未转种de情况
|
||||
if delete_flag:
|
||||
|
Loading…
x
Reference in New Issue
Block a user