display services

This commit is contained in:
DYefremov
2017-10-08 16:40:50 +03:00
parent 3861d7bf61
commit 27fe701881

View File

@@ -73,10 +73,10 @@ def get_channels(*args):
transponder = transponders.get(str(data[1] + _SEP + data[2] + _SEP + data[3]), None)
if transponder is not None:
tr = str(transponder)[2:].split(_SEP) # Removing type of DVB transponders (s , t, c) and split
pack = pack[2:pack.find(",")]
channels.append(Channel(ch[1], pack, data[0], tr[0],
tr[1], Polarization(int(tr[2])).name,
FEC[int(tr[3])], System[int(tr[6])]))
pack = pack[2:pack.find(",")]
channels.append(Channel(ch[1], pack, data[0], tr[0],
tr[1], Polarization(int(tr[2])).name,
FEC[int(tr[3])], System[int(tr[6])]))
return channels