From a90b49a6a1d7a668328d5d80b13e182f92595995 Mon Sep 17 00:00:00 2001 From: HankunYu Date: Sat, 24 Aug 2024 20:52:25 +0100 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E8=BE=85=E7=A7=8D=E4=B8=AD=E8=B7=B3=E8=BF=87=E6=A3=80=E9=AA=8C?= =?UTF-8?q?=E5=90=8E=E4=B8=8D=E4=BC=9A=E6=A3=80=E6=9F=A5=E7=A7=8D=E5=AD=90?= =?UTF-8?q?=E5=AE=8C=E6=95=B4=E5=BA=A6=E7=9B=B4=E6=8E=A5=E5=81=9A=E7=A7=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + plugins/iyuuautoseed/__init__.py | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7048cc3..18a2837 100644 --- a/package.json +++ b/package.json @@ -288,6 +288,7 @@ "author": "jxxghp", "level": 2, "history": { + "v1.9.5": "修复跳过检验后不会检查种子完整度直接做种", "v1.9.4": "修复qbittorrent 添加种子并跳过检验后会标记为完成不会自动做种", "v1.9.3": "修复Monika因缺少rsskey,种子下载失败的问题", "v1.9.2": "适配馒头使用API下载种子", diff --git a/plugins/iyuuautoseed/__init__.py b/plugins/iyuuautoseed/__init__.py index e0551a0..128fad6 100644 --- a/plugins/iyuuautoseed/__init__.py +++ b/plugins/iyuuautoseed/__init__.py @@ -957,9 +957,12 @@ class IYUUAutoSeed(_PluginBase): if self._skipverify: # 跳过校验 logger.info(f"{download_id} 跳过校验,请自行检查...") - # qbittorrent 添加种子并跳过检验后会标记为完成不会自动做种,需要手动开始 + # qbittorrent 添加种子并跳过检验后会标记为完成不会自动做种 + # 加入校验种子列表,但是跳过校验 if downloader == "qbittorrent": - downloader_obj.start_torrents(ids=[download_id]) + if not self._recheck_torrents.get(downloader): + self._recheck_torrents[downloader] = [] + self._recheck_torrents[downloader].append(download_id) else: # 追加校验任务 logger.info(f"添加校验检查任务:{download_id} ...")