diff --git a/package.v2.json b/package.v2.json index fa00b79..5bc4652 100644 --- a/package.v2.json +++ b/package.v2.json @@ -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 版本,采用链式事件机制" } }, diff --git a/plugins.v2/chatgpt/__init__.py b/plugins.v2/chatgpt/__init__.py index 3ba05b6..bf64853 100644 --- a/plugins.v2/chatgpt/__init__.py +++ b/plugins.v2/chatgpt/__init__.py @@ -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")