feat:增加删除下载任务事件,历史记录中删除源文件时主程序会同步删除种子,同时会发出该事件(以便处理辅种等)

This commit is contained in:
jxxghp
2024-06-01 07:47:00 +08:00
parent acff7e0610
commit 45945bd025
5 changed files with 17 additions and 1 deletions

View File

@ -32,6 +32,8 @@ class EventType(Enum):
HistoryDeleted = "history.deleted"
# 删除下载源文件
DownloadFileDeleted = "downloadfile.deleted"
# 删除下载任务
DownloadDeleted = "download.deleted"
# 收到用户外来消息
UserMessage = "user.message"
# 收到Webhook消息