Merge pull request #2758 from InfinityPacer/feature/event

This commit is contained in:
jxxghp
2024-09-20 22:07:29 +08:00
committed by GitHub
5 changed files with 458 additions and 223 deletions
+6 -1
View File
@@ -14,7 +14,7 @@ class TorrentStatus(Enum):
DOWNLOADING = "下载中"
# 可监听事件
# 异步广播事件
class EventType(Enum):
# 插件需要重载
PluginReload = "plugin.reload"
@@ -56,6 +56,11 @@ class EventType(Enum):
MetadataScrape = "metadata.scrape"
# 同步链式事件
class ChainEventType(Enum):
pass
# 系统配置Key字典
class SystemConfigKey(Enum):
# 下载器配置