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

fix tvscript

This commit is contained in:
LaQuay 2019-04-12 23:12:50 +02:00
parent d477d2cc62
commit 5da3375e2e

View file

@ -174,9 +174,9 @@ print("JSON Updated")
# Save data to M3U8 file # Save data to M3U8 file
text_file = open('./public/output/channels.m3u8', "w+") text_file = open('./public/output/channels.m3u8', "w+")
text_file.write("# @LaQuay https://github.com/LaQuay/TDTChannels" + "\n")
text_file.write( text_file.write(
"#EXTM3U url-tvg=\"https://raw.githubusercontent.com/HelmerLuzo/TDTChannels_EPG/master/CanalesTDT_EPG.xml\"\n") "#EXTM3U url-tvg=\"https://raw.githubusercontent.com/HelmerLuzo/TDTChannels_EPG/master/CanalesTDT_EPG.xml\"\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.write(andorra.to_m3u8())
@ -185,9 +185,9 @@ print("M3U8 Updated")
# Save data to M3U file # Save data to M3U file
text_file = open('./public/output/channels.m3u', "w+") text_file = open('./public/output/channels.m3u', "w+")
text_file.write("# @LaQuay https://github.com/LaQuay/TDTChannels" + "\n")
text_file.write( text_file.write(
"#EXTM3U url-tvg=\"https://raw.githubusercontent.com/HelmerLuzo/TDTChannels_EPG/master/CanalesTDT_EPG.xml\"\n") "#EXTM3U url-tvg=\"https://raw.githubusercontent.com/HelmerLuzo/TDTChannels_EPG/master/CanalesTDT_EPG.xml\"\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.write(andorra.to_m3u8())