aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/PLUGINS15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/PLUGINS b/doc/PLUGINS
index fab701cb..96558775 100644
--- a/doc/PLUGINS
+++ b/doc/PLUGINS
@@ -68,3 +68,18 @@ def main(session):
with MyScreen being a GUI screen.
+
+autostarting plugins
+====================
+
+you can configure your plugin to automatically start on enigma startup, and
+end on shutdown.
+
+you just have to use "WHERE_AUTOSTART". your entry point must (fnc) look
+like:
+
+def autostartEntry(raeson):
+ if reason == 0: # startup
+ print "startup"
+ elif reason == 1:
+ print "shutdown"