add imdb query link
[vuplus_dvbapp] / lib / python / Plugins / Plugin.py
index 71b665b..3a79e39 100644 (file)
@@ -14,7 +14,7 @@ class PluginDescriptor:
        # you have to ignore unknown kwargs!
        
        # argument: session
-       WHERE_BLUEMENU = 0
+       WHERE_EXTENSIONSMENU = 0
        WHERE_MAINMENU = 1
        WHERE_PLUGINMENU  = 2
        # argument: session, serviceref (currently selected)
@@ -32,6 +32,9 @@ class PluginDescriptor:
        # delivered, and only on pre-loaded plugins
        WHERE_SESSIONSTART = 7
        
+       # start as teletext plugin. arguments: session, serviceref
+       WHERE_TELETEXT = 8
+       
        def __init__(self, name = "Plugin", where = [ ], description = "", icon = None, fnc = None):
                self.name = name
                if type(where) is list: