mirror of
https://github.com/jxxghp/MoviePilot-Plugins.git
synced 2026-03-27 10:05:57 +00:00
fix iyuumsg、barkmsg、pushdeermsg
This commit is contained in:
@@ -299,7 +299,7 @@
|
||||
"BarkMsg": {
|
||||
"name": "Bark消息推送",
|
||||
"description": "支持使用Bark发送消息通知。",
|
||||
"version": "1.0",
|
||||
"version": "1.1",
|
||||
"icon": "bark.webp",
|
||||
"color": "#FF3B30",
|
||||
"author": "jxxghp",
|
||||
@@ -308,7 +308,7 @@
|
||||
"IyuuMsg": {
|
||||
"name": "IYUU消息推送",
|
||||
"description": "支持使用IYUU发送消息通知。",
|
||||
"version": "1.0",
|
||||
"version": "1.1",
|
||||
"icon": "iyuu.png",
|
||||
"color": "#C9221B",
|
||||
"author": "jxxghp",
|
||||
@@ -317,7 +317,7 @@
|
||||
"PushDeerMsg": {
|
||||
"name": "PushDeer消息推送",
|
||||
"description": "支持使用PushDeer发送消息通知。",
|
||||
"version": "1.0",
|
||||
"version": "1.1",
|
||||
"icon": "pushdeer.png",
|
||||
"color": "#FFFFFF",
|
||||
"author": "jxxghp",
|
||||
|
||||
@@ -18,7 +18,7 @@ class BarkMsg(_PluginBase):
|
||||
# 主题色
|
||||
plugin_color = "#FF3B30"
|
||||
# 插件版本
|
||||
plugin_version = "1.0"
|
||||
plugin_version = "1.1"
|
||||
# 插件作者
|
||||
plugin_author = "jxxghp"
|
||||
# 作者主页
|
||||
@@ -195,6 +195,10 @@ class BarkMsg(_PluginBase):
|
||||
return
|
||||
|
||||
msg_body = event.event_data
|
||||
# 渠道
|
||||
channel = msg_body.get("channel")
|
||||
if channel:
|
||||
return
|
||||
# 类型
|
||||
msg_type: NotificationType = msg_body.get("type")
|
||||
# 标题
|
||||
|
||||
@@ -18,7 +18,7 @@ class IyuuMsg(_PluginBase):
|
||||
# 主题色
|
||||
plugin_color = "#C9221B"
|
||||
# 插件版本
|
||||
plugin_version = "1.0"
|
||||
plugin_version = "1.1"
|
||||
# 插件作者
|
||||
plugin_author = "jxxghp"
|
||||
# 作者主页
|
||||
@@ -154,6 +154,10 @@ class IyuuMsg(_PluginBase):
|
||||
return
|
||||
|
||||
msg_body = event.event_data
|
||||
# 渠道
|
||||
channel = msg_body.get("channel")
|
||||
if channel:
|
||||
return
|
||||
# 类型
|
||||
msg_type: NotificationType = msg_body.get("type")
|
||||
# 标题
|
||||
|
||||
@@ -18,7 +18,7 @@ class PushDeerMsg(_PluginBase):
|
||||
# 主题色
|
||||
plugin_color = "#FFFFFF"
|
||||
# 插件版本
|
||||
plugin_version = "1.0"
|
||||
plugin_version = "1.1"
|
||||
# 插件作者
|
||||
plugin_author = "jxxghp"
|
||||
# 作者主页
|
||||
@@ -175,6 +175,10 @@ class PushDeerMsg(_PluginBase):
|
||||
return
|
||||
|
||||
msg_body = event.event_data
|
||||
# 渠道
|
||||
channel = msg_body.get("channel")
|
||||
if channel:
|
||||
return
|
||||
# 类型
|
||||
msg_type: NotificationType = msg_body.get("type")
|
||||
# 标题
|
||||
|
||||
Reference in New Issue
Block a user