Don't install *.jpg files with the Plugin metadata to save space.
[enigma2.git] / lib / python / Plugins / Extensions / GraphMultiEPG / plugin.py
index a247a618a0bfb7af09f0ed369017e4b3cc8e163c..adb7015dd8edda6e1b63d76b76c43e428faf821b 100644 (file)
@@ -42,8 +42,8 @@ def cleanup():
 
 def closed(ret=False):
        closedScreen = dlg_stack.pop()
+       global bouquetSel
        if bouquetSel and closedScreen == bouquetSel:
-               global bouquetSel
                bouquetSel = None
        dlgs=len(dlg_stack)
        if ret and dlgs > 0: # recursive close wished
@@ -69,6 +69,7 @@ def changeBouquetCB(direction, epg):
                bouquet = bouquetSel.getCurrent()
                services = getBouquetServices(bouquet)
                if len(services):
+                       global epg_bouquet
                        epg_bouquet = bouquet
                        epg.setServices(services)
 
@@ -93,4 +94,5 @@ def main(session, servicelist, **kwargs):
 def Plugins(**kwargs):
        name = _("Graphical Multi EPG")
        descr = _("A graphical EPG for all services of an specific bouquet")
-       return [ PluginDescriptor(name=name, description=descr, where = PluginDescriptor.WHERE_EXTENSIONSMENU, fnc=main) ]
+       return [ PluginDescriptor(name=name, description=descr, where = PluginDescriptor.WHERE_EVENTINFO, fnc=main),
+         PluginDescriptor(name=name, description=descr, where = PluginDescriptor.WHERE_EXTENSIONSMENU, fnc=main) ]