mirror of
https://github.com/LaQuay/TDTChannels.git
synced 2024-11-26 18:54:57 +01:00
fix tvscript
This commit is contained in:
parent
0f83d2cb6c
commit
d477d2cc62
1 changed files with 4 additions and 2 deletions
|
@ -174,7 +174,8 @@ 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("#EXTM3U url-tvg=\"https://raw.githubusercontent.com/HelmerLuzo/TDTChannels_EPG/master/CanalesTDT_EPG.xml\" + "\n")
|
text_file.write(
|
||||||
|
"#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("# @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())
|
||||||
|
@ -184,7 +185,8 @@ 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("#EXTM3U url-tvg=\"https://raw.githubusercontent.com/HelmerLuzo/TDTChannels_EPG/master/CanalesTDT_EPG.xml\" + "\n")
|
text_file.write(
|
||||||
|
"#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("# @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())
|
||||||
|
|
Loading…
Reference in a new issue