fix 操作历史Unicode编码转中文

This commit is contained in:
thsrite
2024-04-26 09:39:14 +08:00
parent 3a498cd262
commit 69ef3e0a82
3 changed files with 6 additions and 7 deletions

View File

@@ -33,4 +33,4 @@ MoviePilot三方插件市场https://github.com/thsrite/MoviePilot-Plugins/
- docker自定义任务 1.2
- 插件彻底卸载 1.0
- 实时软连接 1.3
- 订阅规则自动填充 2.4
- 订阅规则自动填充 2.5

View File

@@ -324,14 +324,14 @@
"SubscribeGroup": {
"name": "订阅规则自动填充",
"description": "电视剧下载后自动添加官组等信息到订阅;添加订阅后根据二级分类名称自定义订阅规则。",
"version": "2.4",
"version": "2.5",
"icon": "teamwork.png",
"author": "thsrite",
"level": 2,
"history": {
"v2.5": "操作历史Unicode编码转中文",
"v2.4": "保存路径支持变量{name} (订阅名称 (年份)",
"v2.3": "二级分类自定义填充支持保存路径",
"v2.2": "优化",
"v2.1": "站点与官组分开,修复质量无填充",
"v2.0": "种子下载自定义填充支持自定义占位符",
"v1.8": "修复种子下载不填充bug",
@@ -341,8 +341,6 @@
"v1.4": "支持根据二级分类名称自定义订阅规则",
"v1.3": "增加质量、分辨率、特效信息填充",
"v1.2": "修复订阅已存在包含关键词和订阅站点",
"v1.1": "fix bug",
"v1.0": "init"
}
}
}

View File

@@ -20,7 +20,7 @@ class SubscribeGroup(_PluginBase):
# 插件图标
plugin_icon = "teamwork.png"
# 插件版本
plugin_version = "2.4"
plugin_version = "2.5"
# 插件作者
plugin_author = "thsrite"
# 作者主页
@@ -674,7 +674,8 @@ class SubscribeGroup(_PluginBase):
},
{
'component': 'td',
'text': history.get("content").encode('utf-8').decode() if history.get("content") else ''
'text': history.get("content").encode('utf-8').decode('unicode_escape') if history.get(
"content") else ''
}
]
} for history in historys