fix m3u8 and m3u

This commit is contained in:
LaQuay 2019-04-14 12:17:28 +02:00
parent e0cfbeecaa
commit b17b133127
1 changed files with 2 additions and 2 deletions

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())