mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-29 03:56:43 +08:00
refactor(runtime): lazily activate host modules (#6331)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
schema_version = 1
|
||||
id = "ZSpaceModule"
|
||||
kind = "host_module"
|
||||
entrypoint = "app.modules.zspace:ZSpaceModule"
|
||||
depends_on = []
|
||||
|
||||
[metadata]
|
||||
name = "极影视"
|
||||
type = "mediaserver"
|
||||
subtype = "ZSpace"
|
||||
priority = 6
|
||||
|
||||
[activation]
|
||||
policy = "when_configured"
|
||||
watch = ["MediaServers"]
|
||||
|
||||
[activation.selector]
|
||||
kind = "system_config_item"
|
||||
key = "MediaServers"
|
||||
match_field = "type"
|
||||
match_value = "zspace"
|
||||
enabled_field = "enabled"
|
||||
Reference in New Issue
Block a user