aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"