mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 23:17:20 +08:00
refactor(runtime): lazily activate host modules (#6331)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
schema_version = 1
|
||||
id = "TransmissionModule"
|
||||
kind = "host_module"
|
||||
entrypoint = "app.modules.transmission:TransmissionModule"
|
||||
depends_on = []
|
||||
|
||||
[metadata]
|
||||
name = "Transmission"
|
||||
type = "downloader"
|
||||
subtype = "Transmission"
|
||||
priority = 2
|
||||
|
||||
[activation]
|
||||
policy = "when_configured"
|
||||
watch = ["Downloaders"]
|
||||
|
||||
[activation.selector]
|
||||
kind = "system_config_item"
|
||||
key = "Downloaders"
|
||||
match_field = "type"
|
||||
match_value = "transmission"
|
||||
enabled_field = "enabled"
|
||||
Reference in New Issue
Block a user