1
2
3
4
5
6
7
8
9
10
|
1
2
3
4
5
6
7
8
9
10
|
-
+
|
# Plugin meta spec
Streamtuner2 now uses a proper ➜ <a href="http://fossil.include-once.org/pluginspec/" style="background:#ec9"><img src="/static/img/pluginspec.png" width=16 height=16> plugin description scheme</a>. Note that this is completely unrelated to the streamtuner2 or channels API, or how plugins are actually initialized (pkgutil, imp, implib, pluginbase/plugnplay).
Streamtuner2 now uses a proper ➜ <a href="http://fossil.include-once.org/pluginspec/" style="background:#feb"><img src="/static/img/pluginspec.png" width=16 height=16> plugin description scheme</a>. Note that this is completely unrelated to the streamtuner2 or channels API, or how plugins are actually initialized (pkgutil, imp, implib, pluginbase/plugnplay).
Basically the top-level comment block is scanned on initialization. It simply lists a few <kbd>key: values</kbd> for documentation and technical descriptors. It's basically a subset of YAML embedded in a script comment.
# api: streamtuner2
# type: feature
# title: My Plugin
# description: Lists all the things
|