mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
refactor(event): optimize broadcast and chain event
This commit is contained in:
@@ -14,7 +14,7 @@ class TorrentStatus(Enum):
|
||||
DOWNLOADING = "下载中"
|
||||
|
||||
|
||||
# 可监听事件
|
||||
# 异步广播事件
|
||||
class EventType(Enum):
|
||||
# 插件需要重载
|
||||
PluginReload = "plugin.reload"
|
||||
@@ -56,6 +56,14 @@ class EventType(Enum):
|
||||
MetadataScrape = "metadata.scrape"
|
||||
|
||||
|
||||
# 同步链式事件
|
||||
class SyncEventType(Enum):
|
||||
# 刮削元数据
|
||||
MetadataScrape = "metadata.scrape"
|
||||
# 插件动作
|
||||
PluginAction = "plugin.action"
|
||||
|
||||
|
||||
# 系统配置Key字典
|
||||
class SystemConfigKey(Enum):
|
||||
# 下载器配置
|
||||
|
||||
Reference in New Issue
Block a user