Merge pull request #505 from thsrite/main

This commit is contained in:
jxxghp
2024-10-21 15:23:11 +08:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -77,11 +77,12 @@
"name": "ChatGPT",
"description": "消息交互支持与ChatGPT对话。",
"labels": "消息通知,识别",
"version": "2.0",
"version": "2.0.1",
"icon": "Chatgpt_A.png",
"author": "jxxghp",
"level": 1,
"history": {
"v2.0.1": "修复辅助识别",
"v2.0": "适配MoviePilot V2 版本,采用链式事件机制"
}
},

View File

@@ -16,7 +16,7 @@ class ChatGPT(_PluginBase):
# 插件图标
plugin_icon = "Chatgpt_A.png"
# 插件版本
plugin_version = "2.0"
plugin_version = "2.0.1"
# 插件作者
plugin_author = "jxxghp"
# 作者主页
@@ -235,6 +235,8 @@ class ChatGPT(_PluginBase):
"""
监听识别事件使用ChatGPT辅助识别名称
"""
if not self._recognize:
return
if not event.event_data:
return
title = event.event_data.get("title")