mirror of
https://github.com/d0zingcat/MoviePilot-Plugins.git
synced 2026-05-13 23:16:47 +00:00
Update cleaninvalidseed to v1.6
This commit is contained in:
@@ -702,11 +702,12 @@
|
||||
"name": "清理QB无效做种",
|
||||
"description": "清理已经被站点删除的种子及对应源文件,仅支持QB",
|
||||
"labels": "Qbittorrent",
|
||||
"version": "1.5",
|
||||
"version": "1.6",
|
||||
"icon": "clean_a.png",
|
||||
"author": "DzAvril",
|
||||
"level": 1,
|
||||
"history": {
|
||||
"v1.6": "修复当种子有多个标签时,通过标签过滤不删除种子会失效的问题",
|
||||
"v1.5": "1. 增加通过分类、标签过滤不删除种子功能;2. 全量通知提供更多信息",
|
||||
"v1.4": "修复插件功能失效的问题",
|
||||
"v1.3": "1. 增加远程命令 2. 根据tracker error_message字段进行过滤,避免误删",
|
||||
|
||||
@@ -28,7 +28,7 @@ class CleanInvalidSeed(_PluginBase):
|
||||
# 插件图标
|
||||
plugin_icon = "clean_a.png"
|
||||
# 插件版本
|
||||
plugin_version = "1.5"
|
||||
plugin_version = "1.6"
|
||||
# 插件作者
|
||||
plugin_author = "DzAvril"
|
||||
# 作者主页
|
||||
@@ -307,7 +307,7 @@ class CleanInvalidSeed(_PluginBase):
|
||||
if torrent.category in exclude_categories:
|
||||
is_excluded = True
|
||||
invalid_torrents_exclude_categories.append(torrent)
|
||||
torrent_labels = torrent.tags.split(",")
|
||||
torrent_labels = [tag.strip() for tag in torrent.tags.split(",")]
|
||||
for label in torrent_labels:
|
||||
if label in exclude_labels:
|
||||
is_excluded = True
|
||||
|
||||
Reference in New Issue
Block a user