1
0
Fork 0
mirror of https://github.com/LaQuay/TDTChannels.git synced 2024-11-22 17:03:24 +01:00

fix m3u8 and m3u

This commit is contained in:
LaQuay 2019-04-14 12:17:28 +02:00
parent e0cfbeecaa
commit b17b133127

View file

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