aboutsummaryrefslogtreecommitdiff
path: root/tools/create_picon_links.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/create_picon_links.py')
-rw-r--r--tools/create_picon_links.py8
1 files changed, 7 insertions, 1 deletions
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"