From 57534d26a3ec9cc77ab3eedc5ad393897e4dee95 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Sun, 19 Feb 2006 20:47:23 +0000 Subject: re-add autostart plugins --- doc/PLUGINS | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc') 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" -- cgit v1.2.3