mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-06-01 07:26:47 +00:00
fix 种子下载自定义填充支持自定义占位符
This commit is contained in:
@@ -33,5 +33,5 @@ MoviePilot三方插件市场:https://github.com/thsrite/MoviePilot-Plugins/
|
||||
- docker自定义任务 1.2
|
||||
- 插件彻底卸载 1.0
|
||||
- 实时软连接 1.3
|
||||
- 订阅规则自动填充 1.8
|
||||
- 订阅规则自动填充 2.0
|
||||
|
||||
|
||||
@@ -322,12 +322,13 @@
|
||||
"SubscribeGroup": {
|
||||
"name": "订阅规则自动填充",
|
||||
"description": "电视剧下载后自动添加官组等信息到订阅;添加订阅后根据二级分类名称自定义订阅规则。",
|
||||
"version": "1.8",
|
||||
"version": "2.0",
|
||||
"icon": "teamwork.png",
|
||||
"author": "thsrite",
|
||||
"level": 2,
|
||||
"history": {
|
||||
"v1.8": "支持自定义占位符、修复种子下载不填充bug",
|
||||
"v2.0": "种子下载自定义填充支持自定义占位符",
|
||||
"v1.8": "修复种子下载不填充bug",
|
||||
"v1.7": "操作历史Unicode编码转中文",
|
||||
"v1.6": "支持一行配置多个二级分类名称",
|
||||
"v1.5": "支持操作历史",
|
||||
|
||||
@@ -20,7 +20,7 @@ class SubscribeGroup(_PluginBase):
|
||||
# 插件图标
|
||||
plugin_icon = "teamwork.png"
|
||||
# 插件版本
|
||||
plugin_version = "1.8"
|
||||
plugin_version = "2.0"
|
||||
# 插件作者
|
||||
plugin_author = "thsrite"
|
||||
# 作者主页
|
||||
@@ -310,7 +310,7 @@ class SubscribeGroup(_PluginBase):
|
||||
history.append({
|
||||
'name': subscribe.name,
|
||||
'type': '种子下载自定义配置',
|
||||
'content': f'官组 {resource_team} 站点 {sites} 分辨率 {resource_pix} 质量 {resource_type} 特效 {resource_effect}',
|
||||
'content': f'包含关键词 {resource_team} 站点 {sites} 分辨率 {resource_pix} 质量 {resource_type} 特效 {resource_effect}',
|
||||
"time": time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(time.time()))
|
||||
})
|
||||
# 保存历史
|
||||
@@ -651,7 +651,7 @@ class SubscribeGroup(_PluginBase):
|
||||
},
|
||||
{
|
||||
'component': 'td',
|
||||
'text': history.get("content").encode('utf-8').decode('unicode-escape')
|
||||
'text': history.get("content").encode('utf-8').decode() if history.get("content") else ''
|
||||
}
|
||||
]
|
||||
} for history in historys
|
||||
|
||||
Reference in New Issue
Block a user