From b17b1331273bdac4065a46fb15376df702ad1cbd Mon Sep 17 00:00:00 2001 From: LaQuay Date: Sun, 14 Apr 2019 12:17:28 +0200 Subject: [PATCH] fix m3u8 and m3u --- script/tv_script.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/tv_script.py b/script/tv_script.py index 6254e385..485a0ee3 100644 --- a/script/tv_script.py +++ b/script/tv_script.py @@ -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())