make servicelist accessible in plugins
[enigma2.git] / lib / python / Screens / InfoBarGenerics.py
index 8aeb767718b9cde2e81e084b845a89d9d62bc69c..7d597030ddcc811cbc7f98887ef49912c5a95eec 100644 (file)
@@ -405,6 +405,7 @@ class InfoBarEPG:
                self["EPGActions"] = HelpableActionMap(self, "InfobarEPGActions", 
                        {
                                "showEventInfo": (self.openEventView, _("show EPG...")),
+                               "showSingleServiceEPG": (self.openSingleServiceEPG, _("show single service EPG...")),
                                "showInfobarOrEpgWhenInfobarAlreadyVisible": self.showEventInfoWhenNotVisible,
                        })
 
@@ -1203,7 +1204,9 @@ class InfoBarPlugins:
                return list
 
        def runPlugin(self, plugin):
+               self.session.servicelist = self.servicelist
                plugin(session = self.session)
+               del self.session.servicelist
 
 # depends on InfoBarExtensions
 class InfoBarSleepTimer: