aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-10-25 14:48:49 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-10-25 14:48:49 +0000
commit70a1e41a08a2ba28c40ffe39be6fb02f6d126b07 (patch)
tree2af1e08b2ab66441342cd77277876cbb202da92b
parent8f80c7c5867d6eddde43a612b25e67b6435e44b4 (diff)
downloadenigma2-70a1e41a08a2ba28c40ffe39be6fb02f6d126b07.tar.gz
enigma2-70a1e41a08a2ba28c40ffe39be6fb02f6d126b07.zip
small fix
-rw-r--r--lib/python/Plugins/Extensions/GraphMultiEPG/plugin.py2
-rw-r--r--tools/create_picon_links.py8
2 files changed, 8 insertions, 2 deletions
diff --git a/lib/python/Plugins/Extensions/GraphMultiEPG/plugin.py b/lib/python/Plugins/Extensions/GraphMultiEPG/plugin.py
index a247a618..7afbe14a 100644
--- a/lib/python/Plugins/Extensions/GraphMultiEPG/plugin.py
+++ b/lib/python/Plugins/Extensions/GraphMultiEPG/plugin.py
@@ -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
diff --git a/tools/create_picon_links.py b/tools/create_picon_links.py
index ec7342ef..d01a7a45 100644
--- a/tools/create_picon_links.py
+++ b/tools/create_picon_links.py
@@ -17,7 +17,13 @@ while len(f):
name = name.replace('\xc2\x87', '').replace('\xc2\x86', '')
- refstr = "1:0:%d:%X:%X:%X:%X:%d:0:0" % (ref[4], ref[0], ref[2], ref[3], ref[1], ref[5])
+# SID:NS:TSID:ONID:STYPE:UNUSED(channelnumber in enigma1)
+# X X X X D D
+
+# REFTYPE:FLAGS:STYPE:SID:TSID:ONID:NS:PARENT_SID:PARENT_TSID:UNUSED
+# D D X X X X X X X X
+
+ refstr = "1:0:%X:%X:%X:%X:%X:0:0:0" % (ref[4], ref[0], ref[2], ref[3], ref[1], ref[5])
refstr = refstr.replace(':', '_')
filename = name + ".png"