aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-01-21 00:14:48 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-01-21 00:14:48 +0000
commitc2ba4a7d374a9b20f7567478e8bafbad8f3884e1 (patch)
tree714d53976087218c86fa3ff8cac323c6d6e66554 /lib
parente2781e0994df40c51d3c0d94baf5cc2eafdf45f2 (diff)
downloadenigma2-c2ba4a7d374a9b20f7567478e8bafbad8f3884e1.tar.gz
enigma2-c2ba4a7d374a9b20f7567478e8bafbad8f3884e1.zip
fix non working code
Diffstat (limited to 'lib')
-rw-r--r--lib/python/Components/EpgList.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/python/Components/EpgList.py b/lib/python/Components/EpgList.py
index 4444d3b5..4a182322 100644
--- a/lib/python/Components/EpgList.py
+++ b/lib/python/Components/EpgList.py
@@ -197,7 +197,8 @@ class EPGList(HTMLComponent, GUIComponent):
def fillMultiEPG(self, services, stime=-1):
t = time()
- test = [ '0RIBDTCn', (service.ref.toString(), 0, stime) for service in services ]
+ test = [ (service.ref.toString(), 0, stime) for service in services ]
+ test.insert(0, '0RIBDTCn')
self.list = self.queryEPG(test)
self.l.setList(self.list)
print time() - t
@@ -205,7 +206,8 @@ class EPGList(HTMLComponent, GUIComponent):
def updateMultiEPG(self, direction):
t = time()
- test = [ 'RIBDTCn', x[3] and (x[1], x[4], x[3]) or (x[1], x[4], 0) for x in self.list ]
+ test = [ x[3] and (x[1], direction, x[3]) or (x[1], direction, 0) for x in self.list ]
+ test.insert(0, 'RIBDTCn')
tmp = self.queryEPG(test)
cnt=0
for x in tmp: