From b421b02a1edafb88f650299215b93648e6c810fb Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Wed, 27 Mar 2013 15:39:04 +0100 Subject: [PATCH] docs: More extdev notes --- docs/extensiondev.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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