1
0
Fork 0
mirror of https://github.com/LaQuay/TDTChannels.git synced 2025-05-31 01:39:23 +02:00

support to enigma2

This commit is contained in:
Marc 2019-01-26 15:40:27 +01:00
parent 4cd9036814
commit 1a150636d2
4 changed files with 51 additions and 10 deletions

View file

@ -32,3 +32,12 @@ class Country:
def to_m3u8(self):
return self.__ambits_to_m3u8__()
def __ambits_to_enigma2__(self):
ambits_list = ""
for ambit in self.ambits:
ambits_list += ambit.to_enigma2()
return ambits_list
def to_enigma2(self):
return self.__ambits_to_enigma2__()