This commit is contained in:
jxxghp
2024-11-14 22:43:38 +08:00
parent d3cccaa1a9
commit 765008fc69
2 changed files with 4 additions and 4 deletions

View File

@@ -182,12 +182,12 @@
"name": "自动删种",
"description": "自动删除下载器中的下载任务。",
"labels": "做种",
"version": "2.1",
"version": "2.1.1",
"icon": "delete.jpg",
"author": "jxxghp",
"level": 2,
"history": {
"v2.1": "修复兼容MoviePilot V2 版本",
"v2.1.1": "修复兼容MoviePilot V2 版本",
"v2.0": "兼容MoviePilot V2 版本"
}
},

View File

@@ -26,7 +26,7 @@ class TorrentRemover(_PluginBase):
# 插件图标
plugin_icon = "delete.jpg"
# 插件版本
plugin_version = "2.1"
plugin_version = "2.1.1"
# 插件作者
plugin_author = "jxxghp"
# 作者主页
@@ -814,7 +814,7 @@ class TorrentRemover(_PluginBase):
name = remove_torrent.get("name")
size = remove_torrent.get("size")
for torrent in torrents:
if downloader == "qbittorrent":
if downloader_config.type == "qbittorrent":
plus_id = torrent.hash
plus_name = torrent.name
plus_size = torrent.size