From 31d0f4c3b67336b871c4a4596ebfc6bf84a89478 Mon Sep 17 00:00:00 2001 From: HankunYu Date: Thu, 22 Aug 2024 13:20:18 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20iyuu=E6=B7=BB=E5=8A=A0=E5=90=8E=E4=B8=8D?= =?UTF-8?q?=E4=BC=9A=E8=87=AA=E5=8A=A8=E5=81=9A=E7=A7=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 ++- plugins/iyuuautoseed/__init__.py | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index aef43ad..63eabcd 100644 --- a/package.json +++ b/package.json @@ -283,11 +283,12 @@ "name": "IYUU自动辅种", "description": "基于IYUU官方Api实现自动辅种。", "labels": "做种,IYUU", - "version": "1.9.3", + "version": "1.9.4", "icon": "IYUU.png", "author": "jxxghp", "level": 2, "history": { + "v1.9.4": "修复qBittorrent辅种后不会自动开始做种", "v1.9.3": "修复Monika因缺少rsskey,种子下载失败的问题", "v1.9.2": "适配馒头使用API下载种子", "v1.9.1": "支持自定义辅种的种子分类", diff --git a/plugins/iyuuautoseed/__init__.py b/plugins/iyuuautoseed/__init__.py index 187a8c2..43682cf 100644 --- a/plugins/iyuuautoseed/__init__.py +++ b/plugins/iyuuautoseed/__init__.py @@ -34,7 +34,7 @@ class IYUUAutoSeed(_PluginBase): # 插件图标 plugin_icon = "IYUU.png" # 插件版本 - plugin_version = "1.9.3" + plugin_version = "1.9.4" # 插件作者 plugin_author = "jxxghp" # 作者主页 @@ -967,6 +967,9 @@ 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}") # 成功也加入缓存,有一些改了路径校验不通过的,手动删除后,下一次又会辅上