1
0
Fork 0
mirror of https://github.com/LaQuay/TDTChannels.git synced 2024-11-26 18:54:57 +01:00

Update tv_script.py (#135)

Añadido a m3u8 y m3u los canales Andorra.
This commit is contained in:
HelmerLuzo 2019-04-07 11:28:14 +02:00 committed by Marc Vila
parent 23c0a7d1dd
commit 19032af970

View file

@ -178,6 +178,7 @@ text_file.write("#EXTM3U" + "\n")
text_file.write("# @LaQuay https://github.com/LaQuay/TDTChannels" + "\n") text_file.write("# @LaQuay https://github.com/LaQuay/TDTChannels" + "\n")
text_file.write(spain.to_m3u8()) text_file.write(spain.to_m3u8())
text_file.write(international.to_m3u8()) text_file.write(international.to_m3u8())
text_file.write(andorra.to_m3u8())
text_file.close() text_file.close()
print("M3U8 Updated") print("M3U8 Updated")
@ -187,6 +188,7 @@ text_file.write("#EXTM3U" + "\n")
text_file.write("# @LaQuay https://github.com/LaQuay/TDTChannels" + "\n") text_file.write("# @LaQuay https://github.com/LaQuay/TDTChannels" + "\n")
text_file.write(spain.to_m3u8()) text_file.write(spain.to_m3u8())
text_file.write(international.to_m3u8()) text_file.write(international.to_m3u8())
text_file.write(andorra.to_m3u8())
text_file.close() text_file.close()
print("M3U Updated") print("M3U Updated")
@ -195,5 +197,6 @@ text_file = open('./public/output/userbouquet.tdtchannels.tv', "w+")
text_file.write("#NAME @LaQuay https://github.com/LaQuay/TDTChannels" + "\n") text_file.write("#NAME @LaQuay https://github.com/LaQuay/TDTChannels" + "\n")
text_file.write(spain.to_enigma2()) text_file.write(spain.to_enigma2())
text_file.write(international.to_enigma2()) text_file.write(international.to_enigma2())
text_file.write(andorra.to_enigma2())
text_file.close() text_file.close()
print("ENIGMA2 Updated") print("ENIGMA2 Updated")