X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/daaf4b6ba8fbddd81553e0076385220ef1a7f327..fdba894d38a12273086a24de004ff3de0f64c6b9:/doc/PLUGINS 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"