Fix iyuu添加后不会自动做种

This commit is contained in:
HankunYu
2024-08-22 13:20:18 +01:00
parent 1af48f8203
commit 31d0f4c3b6
2 changed files with 6 additions and 2 deletions

View File

@@ -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}")
# 成功也加入缓存,有一些改了路径校验不通过的,手动删除后,下一次又会辅上