mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-05-30 07:26:45 +00:00
fix 修复暂停种子失败
This commit is contained in:
@@ -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": "修复重新整理被一并删除问题",
|
||||
|
||||
@@ -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} 暂停")
|
||||
|
||||
# 处理辅种的辅种
|
||||
|
||||
Reference in New Issue
Block a user