diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-11 14:50:07 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-11 14:50:07 +0000 |
| commit | 47eaccfd3d5c4ca46ff339cb64a077a0f269d671 (patch) | |
| tree | d0ced97faa3545e1d86a2ead72a695e3e980f6c5 /lib/python/Plugins/tuxboxplugins | |
| parent | 061f02110eeeb6f8b44b2d3229a098c3c270f10c (diff) | |
| download | enigma2-47eaccfd3d5c4ca46ff339cb64a077a0f269d671.tar.gz enigma2-47eaccfd3d5c4ca46ff339cb64a077a0f269d671.zip | |
add a tuxbox plugins plugin to prepare loading of tuxbox plugins when the c++ part supports it
Diffstat (limited to 'lib/python/Plugins/tuxboxplugins')
| -rw-r--r-- | lib/python/Plugins/tuxboxplugins/Makefile.am | 7 | ||||
| -rw-r--r-- | lib/python/Plugins/tuxboxplugins/__init__.py | 0 | ||||
| -rw-r--r-- | lib/python/Plugins/tuxboxplugins/plugin.py | 14 |
3 files changed, 21 insertions, 0 deletions
diff --git a/lib/python/Plugins/tuxboxplugins/Makefile.am b/lib/python/Plugins/tuxboxplugins/Makefile.am new file mode 100644 index 00000000..055d9bdd --- /dev/null +++ b/lib/python/Plugins/tuxboxplugins/Makefile.am @@ -0,0 +1,7 @@ +installdir = $(LIBDIR)/enigma2/python/Plugins/tuxboxplugins + +install_PYTHON = \ + __init__.py \ + plugin.py + + diff --git a/lib/python/Plugins/tuxboxplugins/__init__.py b/lib/python/Plugins/tuxboxplugins/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/lib/python/Plugins/tuxboxplugins/__init__.py diff --git a/lib/python/Plugins/tuxboxplugins/plugin.py b/lib/python/Plugins/tuxboxplugins/plugin.py new file mode 100644 index 00000000..1e8d52ee --- /dev/null +++ b/lib/python/Plugins/tuxboxplugins/plugin.py @@ -0,0 +1,14 @@ +from enigma import * +from Screens.Screen import Screen +from Screens.MessageBox import MessageBox +from Components.ActionMap import ActionMap +from Components.Label import Label + +import os + +def getPlugins(): + return [("Tuxbox-Plugin1", "function", "main", 0), + ("Tuxbox-Plugin2", "function", "main", 1)] + +def main(session, args): + print "Running plugin with number", args
\ No newline at end of file |
