diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-11-13 08:57:45 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-11-13 08:57:45 +0000 |
| commit | 3d5ee66a7e80c61e431e74e821242e144e88f008 (patch) | |
| tree | af62b4ef7d8a8482011e65b3f314a64372d913bb /lib/python/Screens/InfoBar.py | |
| parent | 8abe6bd8b06640ce47fc26f2786801106536c96e (diff) | |
| download | enigma2-3d5ee66a7e80c61e431e74e821242e144e88f008.tar.gz enigma2-3d5ee66a7e80c61e431e74e821242e144e88f008.zip | |
dont open epglist when no epg is avail
Diffstat (limited to 'lib/python/Screens/InfoBar.py')
| -rw-r--r-- | lib/python/Screens/InfoBar.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py index 62639c04..78a47ddd 100644 --- a/lib/python/Screens/InfoBar.py +++ b/lib/python/Screens/InfoBar.py @@ -224,7 +224,12 @@ class InfoBar(Screen): self.muteDialog.instance.hide() def showEPGList(self): - self.session.open(EPGSelection, self.session.nav.getCurrentlyPlayingServiceReference()) + ref=self.session.nav.getCurrentlyPlayingServiceReference() + ptr=eEPGCache.getInstance() + if ptr.startTimeQuery(ref) != -1: + self.session.open(EPGSelection, ref) + else: + print 'no epg for service', ref.toString() def quit(self): self.session.open(Standby) |
