fix 修复暂停种子失败

This commit is contained in:
thsrite
2024-11-03 19:39:30 +08:00
parent 78c7ff1ab1
commit f9ba8b2d60
2 changed files with 4 additions and 3 deletions

View File

@@ -196,11 +196,12 @@
"name": "媒体文件同步删除",
"description": "同步删除历史记录、源文件和下载任务。",
"labels": "媒体库,文件整理",
"version": "1.8.3",
"version": "1.8.4",
"icon": "mediasyncdel.png",
"author": "thsrite",
"level": 1,
"history": {
"v1.8.4": "修复暂停种子失败",
"v1.8.3": "修复源文件删除",
"v1.8.1": "适配v2多媒体服务器移除日志方式",
"v1.7": "修复重新整理被一并删除问题",

View File

@@ -26,7 +26,7 @@ class MediaSyncDel(_PluginBase):
# 插件图标
plugin_icon = "mediasyncdel.png"
# 插件版本
plugin_version = "1.8.3"
plugin_version = "1.8.4"
# 插件作者
plugin_author = "thsrite"
# 作者主页
@@ -1103,7 +1103,7 @@ class MediaSyncDel(_PluginBase):
downloader=downloader)
# 暂停辅种
else:
self.chain.stop_torrents(hashs=torrent, download=downloader)
self.chain.stop_torrents(hashs=torrent, downloader=downloader)
logger.info(f"辅种:{downloader} - {torrent} 暂停")
# 处理辅种的辅种