aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/InfoBarGenerics.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-04-19 18:37:37 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-04-19 18:37:37 +0000
commit52492210cfa975235fb07171f0348e9471edd8ef (patch)
treeb6cbfe569f71d8081aafb55ec8c660bdaceac9e5 /lib/python/Screens/InfoBarGenerics.py
parent5f808a16079e84f0a6f5b88a62faffc12d74a5e3 (diff)
downloadenigma2-52492210cfa975235fb07171f0348e9471edd8ef.tar.gz
enigma2-52492210cfa975235fb07171f0348e9471edd8ef.zip
show similar broadcastings deferred in eventview
when similar broascastings are avail now it is possible to open a epglist with all similar broadcastings (via red button)
Diffstat (limited to 'lib/python/Screens/InfoBarGenerics.py')
-rw-r--r--lib/python/Screens/InfoBarGenerics.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py
index aea81318..77fca559 100644
--- a/lib/python/Screens/InfoBarGenerics.py
+++ b/lib/python/Screens/InfoBarGenerics.py
@@ -396,8 +396,10 @@ class InfoBarEPG:
def openSingleServiceEPG(self):
ref=self.session.nav.getCurrentlyPlayingServiceReference()
- ptr=eEPGCache.getInstance()
- self.session.openWithCallback(self.closed, EPGSelection, ref)
+ self.session.open(EPGSelection, ref)
+
+ def openSimilarList(self, eventid, refstr):
+ self.session.open(EPGSelection, refstr, None, eventid)
def openEventView(self):
self.epglist = [ ]
@@ -419,7 +421,7 @@ class InfoBarEPG:
if ptr:
self.epglist.append(ptr)
if len(self.epglist) > 0:
- self.session.open(EventViewEPGSelect, self.epglist[0], ServiceReference(ref), self.eventViewCallback, self.openSingleServiceEPG, self.openMultiServiceEPG)
+ self.session.open(EventViewEPGSelect, self.epglist[0], ServiceReference(ref), self.eventViewCallback, self.openSingleServiceEPG, self.openMultiServiceEPG, self.openSimilarList)
else:
print "no epg for the service avail.. so we show multiepg instead of eventinfo"
self.openMultiServiceEPG(False)