docs: More extdev notes
This commit is contained in:
parent
0e03c3f26e
commit
b421b02a1e
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user