add note about usage of print
[enigma2.git] / doc / PLUGINS
index fab701cb39a3fd8f7321c7a550193431d38404e7..965587755f81150e16f646eeb9c403cd7d2b7655 100644 (file)
@@ -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"