From 7fef1f007a65ecf3cd84a8773d3e12f60f07d0e1 Mon Sep 17 00:00:00 2001 From: HankunYu Date: Thu, 22 Aug 2024 15:45:19 +0100 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9D=A1=E4=BB=B6=E9=99=90?= =?UTF-8?q?=E5=88=B6=E4=B8=BA=E8=B7=B3=E8=BF=87=E6=A3=80=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/iyuuautoseed/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/iyuuautoseed/__init__.py b/plugins/iyuuautoseed/__init__.py index 43682cf..e0551a0 100644 --- a/plugins/iyuuautoseed/__init__.py +++ b/plugins/iyuuautoseed/__init__.py @@ -957,6 +957,9 @@ class IYUUAutoSeed(_PluginBase): if self._skipverify: # 跳过校验 logger.info(f"{download_id} 跳过校验,请自行检查...") + # qbittorrent 添加种子并跳过检验后会标记为完成不会自动做种,需要手动开始 + if downloader == "qbittorrent": + downloader_obj.start_torrents(ids=[download_id]) else: # 追加校验任务 logger.info(f"添加校验检查任务:{download_id} ...") @@ -967,9 +970,7 @@ class IYUUAutoSeed(_PluginBase): if downloader == "qbittorrent": # 开始校验种子 downloader_obj.recheck_torrents(ids=[download_id]) - # qbittorrent 添加种子后会标记为完成不会自动做种,需要手动开始 - if downloader == "qbittorrent": - downloader_obj.start_torrents(ids=[download_id]) + # 下载成功 logger.info(f"成功添加辅种下载,站点:{site_info.get('name')},种子链接:{torrent_url}") # 成功也加入缓存,有一些改了路径校验不通过的,手动删除后,下一次又会辅上