From 4f043654d5892fcc1df98dec259a95451e323d86 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 1 Jun 2024 07:39:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E4=BB=BB=E5=8A=A1=20=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0dc5fcd..7aa629d 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ MoviePilot官方插件市场:https://github.com/jxxghp/MoviePilot-Plugins } ``` -PS:MoviePilot中的其它事件也是同样方法实现响应: +- MoviePilot中所有事件清单,可以通过实现这些事情来扩展功能,同时插件之前也可以通过发送和监听事件实现联动。 ```python class EventType(Enum): # 插件需要重载 @@ -66,6 +66,8 @@ class EventType(Enum): HistoryDeleted = "history.deleted" # 删除下载源文件 DownloadFileDeleted = "downloadfile.deleted" + # 删除下载任务 + DownloadDeleted = "download.deleted" # 收到用户外来消息 UserMessage = "user.message" # 收到Webhook消息