We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MP:v2.2.6-1 插件问题代码:
@eventmanager.register(EventType.WebhookMessage) def on_webhook_coming(self, event: Event): logger.info(f"on_webhook_coming事件触发: {event.__dict__}") # 在这里可以添加处理下载完成事件的具体逻辑
复现步骤: 打开Emby->设置->通知->添加webHook 地址填写https://XXXX:3001/api/v1/webhook/?token=AAA&source=BBB,其中XXX是我的MP地址,AAA是MP设置内的API令牌,BBB是我的Emby在MP中配置的名字,点击测试发送
预期: on_webhook_coming日志出现在插件日志内
其他尝试:
切换MP地址为域名,不work
地址填写https://XXXX:3000/api/v1/webhook/?token=AAA&source=BBB 不work
在插件中添加其他事件如 PluginReload、SubscribeAdded、NoticeMessage都符合预期的收到事件
@eventmanager.register(EventType.PluginReload) def on_plugin_reload(self, event: Event): logger.info(f"on_plugin_reload事件触发: {event.__dict__}") # 在这里可以添加处理下载完成事件的具体逻辑
媒体库服务器通知
目前没有其他的尝试了 是否是MP的外部webhook API地址变了,不是/api/v1/webhook了? 还是这个事件注册到MP的过程中确实出现了问题?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
MP:v2.2.6-1
插件问题代码:
复现步骤:
打开Emby->设置->通知->添加webHook
地址填写https://XXXX:3001/api/v1/webhook/?token=AAA&source=BBB,其中XXX是我的MP地址,AAA是MP设置内的API令牌,BBB是我的Emby在MP中配置的名字,点击测试发送
预期:
on_webhook_coming日志出现在插件日志内
其他尝试:
切换MP地址为域名,不work
地址填写https://XXXX:3000/api/v1/webhook/?token=AAA&source=BBB 不work
在插件中添加其他事件如 PluginReload、SubscribeAdded、NoticeMessage都符合预期的收到事件
媒体库服务器通知
不work目前没有其他的尝试了
是否是MP的外部webhook API地址变了,不是/api/v1/webhook了?
还是这个事件注册到MP的过程中确实出现了问题?
The text was updated successfully, but these errors were encountered: