mirror of
https://github.com/d0zingcat/MoviePilot-Plugins.git
synced 2026-05-13 23:16:47 +00:00
fix ChatGPT
This commit is contained in:
@@ -164,7 +164,7 @@
|
||||
"ChatGPT": {
|
||||
"name": "ChatGPT",
|
||||
"description": "消息交互支持与ChatGPT对话。",
|
||||
"version": "1.0",
|
||||
"version": "1.1",
|
||||
"icon": "chatgpt.png",
|
||||
"color": "#74AA9C",
|
||||
"author": "jxxghp",
|
||||
|
||||
@@ -18,7 +18,7 @@ class ChatGPT(_PluginBase):
|
||||
# 主题色
|
||||
plugin_color = "#74AA9C"
|
||||
# 插件版本
|
||||
plugin_version = "1.0"
|
||||
plugin_version = "1.1"
|
||||
# 插件作者
|
||||
plugin_author = "jxxghp"
|
||||
# 作者主页
|
||||
@@ -223,6 +223,13 @@ class ChatGPT(_PluginBase):
|
||||
'episode': response.get("episode")
|
||||
}
|
||||
)
|
||||
else:
|
||||
eventmanager.send_event(
|
||||
EventType.NameRecognizeResult,
|
||||
{
|
||||
'title': title
|
||||
}
|
||||
)
|
||||
|
||||
def stop_service(self):
|
||||
"""
|
||||
|
||||
@@ -54,8 +54,7 @@ class MediaServerRefresh(_PluginBase):
|
||||
def get_api(self) -> List[Dict[str, Any]]:
|
||||
pass
|
||||
|
||||
@staticmethod
|
||||
def get_form() -> Tuple[List[dict], Dict[str, Any]]:
|
||||
def get_form(self) -> Tuple[List[dict], Dict[str, Any]]:
|
||||
"""
|
||||
拼装插件配置页面,需要返回两块数据:1、页面配置;2、数据结构
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user