mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-05-23 07:16:44 +00:00
fix 操作历史Unicode编码转中文
This commit is contained in:
@@ -33,5 +33,5 @@ MoviePilot三方插件市场:https://github.com/thsrite/MoviePilot-Plugins/
|
||||
- docker自定义任务 1.2
|
||||
- 插件彻底卸载 1.0
|
||||
- 实时软连接 1.3
|
||||
- 订阅规则自动填充 1.6
|
||||
- 订阅规则自动填充 1.7
|
||||
|
||||
|
||||
@@ -322,11 +322,12 @@
|
||||
"SubscribeGroup": {
|
||||
"name": "订阅规则自动填充",
|
||||
"description": "电视剧下载后自动添加官组等信息到订阅;添加订阅后根据二级分类名称自定义订阅规则。",
|
||||
"version": "1.6",
|
||||
"version": "1.7",
|
||||
"icon": "teamwork.png",
|
||||
"author": "thsrite",
|
||||
"level": 2,
|
||||
"history": {
|
||||
"v1.7": "操作历史Unicode编码转中文",
|
||||
"v1.6": "支持一行配置多个二级分类名称",
|
||||
"v1.5": "支持操作历史",
|
||||
"v1.4": "支持根据二级分类名称自定义订阅规则",
|
||||
|
||||
@@ -20,7 +20,7 @@ class SubscribeGroup(_PluginBase):
|
||||
# 插件图标
|
||||
plugin_icon = "teamwork.png"
|
||||
# 插件版本
|
||||
plugin_version = "1.6"
|
||||
plugin_version = "1.7"
|
||||
# 插件作者
|
||||
plugin_author = "thsrite"
|
||||
# 作者主页
|
||||
@@ -187,7 +187,7 @@ class SubscribeGroup(_PluginBase):
|
||||
|
||||
history.append({
|
||||
'name': subscribe.name,
|
||||
'type': f'{category}订阅自定义配置',
|
||||
'type': f'二级分类自定义配置 {category}',
|
||||
'content': json.dumps(category_conf),
|
||||
"time": time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(time.time()))
|
||||
})
|
||||
@@ -639,7 +639,7 @@ class SubscribeGroup(_PluginBase):
|
||||
},
|
||||
{
|
||||
'component': 'td',
|
||||
'text': history.get("content")
|
||||
'text': history.get("content").encode('utf-8').decode('unicode-escape')
|
||||
}
|
||||
]
|
||||
} for history in historys
|
||||
|
||||
Reference in New Issue
Block a user