diff --git a/docs/extensiondev.rst b/docs/extensiondev.rst index f93cd645..19cbd1e4 100644 --- a/docs/extensiondev.rst +++ b/docs/extensiondev.rst @@ -60,12 +60,18 @@ Notes An extension wants to: - Be automatically found if installed + - Either register a setuptools entry points on installation, or + - Require a line of configuration to activate the extension - Provide default config - Validate configuration + - Pass all configuration to every extension, let the extension complain on + anything it wants to - Validate presence of dependencies - Python packages (e.g. pyspotify) - Other software - - Other extensions (e.g. SoundCloud depends on stream backend) + - The presence of other extensions can be validated in the configuration + validation step - Validate that needed TCP ports are free +- Register new GStreamer elements - Be asked to start running - Be asked to shut down