openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
create_picon_sats.py File Reference

Namespaces

 create_picon_sats
 

Variables

 create_picon_sats.f = open(sys.argv[1]).readlines()
 
list create_picon_sats.ref = [int(x, 0x10) for x in f[0][:-1].split(':')]
 
 create_picon_sats.name = f[1][:-1]
 
 create_picon_sats.fields = f[2].split(',')
 
 create_picon_sats.provider = fields[0].split(':')[1]
 
string create_picon_sats.servicetype = 'radio'
 
 create_picon_sats.sat = str(ref[1] / 16 / 16 / 16 / 16)
 
string create_picon_sats.refstr = "1:0:%X:%X:%X:%X:%X:0:0:0" % (ref[4], ref[0], ref[2], ref[3], ref[1])
 
string create_picon_sats.filename = name + ".png"
 
string create_picon_sats.linkname = refstr + ".png"