From 3c25e1d107e4016e33f647a35e1cd381450bd911 Mon Sep 17 00:00:00 2001 From: thsrite Date: Fri, 22 Nov 2024 15:11:16 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 ++- plugins/synologynotify/__init__.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index cd42624..b45a491 100644 --- a/package.json +++ b/package.json @@ -165,12 +165,13 @@ "name": "群辉Webhook通知", "description": "接收群辉webhook通知并推送。", "labels": "消息通知", - "version": "1.1", + "version": "1.2", "icon": "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/synology.png", "author": "thsrite", "level": 1, "v2": true, "history": { + "v1.2": "修改配置描述", "v1.1": "修复bug", "v1.0": "接收群辉webhook通知并推送" } diff --git a/plugins/synologynotify/__init__.py b/plugins/synologynotify/__init__.py index 6ed1ad7..d0463d3 100644 --- a/plugins/synologynotify/__init__.py +++ b/plugins/synologynotify/__init__.py @@ -13,7 +13,7 @@ class SynologyNotify(_PluginBase): # 插件图标 plugin_icon = "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/synology.png" # 插件版本 - plugin_version = "1.1" + plugin_version = "1.2" # 插件作者 plugin_author = "thsrite" # 作者主页 @@ -168,7 +168,7 @@ class SynologyNotify(_PluginBase): 'props': { 'type': 'info', 'variant': 'tonal', - 'text': '群辉webhook配置http://ip:3001/api/v1/plugin/SynologyNotify/webhook?text=hello world。' + 'text': '群辉webhook配置http://ip:3001/api/v1/plugin/SynologyNotify/webhook?apikey=*****&text=hello world。' 'text参数类型是消息内容。此插件安装完需要重启生效api。消息类型默认为手动处理通知。' } }