mirror of
https://github.com/LaQuay/TDTChannels.git
synced 2024-11-26 10:49:13 +01:00
Add m3u
This commit is contained in:
parent
d28d25d6a6
commit
2a1dc2f003
1 changed files with 9 additions and 0 deletions
|
@ -176,6 +176,15 @@ text_file.write(international.to_m3u8())
|
|||
text_file.close()
|
||||
print("M3U8 Updated")
|
||||
|
||||
# Save data to M3U file
|
||||
text_file = open('./public/output/channels.m3u', "w+")
|
||||
text_file.write("#EXTM3U" + "\n")
|
||||
text_file.write("# @LaQuay https://github.com/LaQuay/TDTChannels" + "\n")
|
||||
text_file.write(spain.to_m3u8())
|
||||
text_file.write(international.to_m3u8())
|
||||
text_file.close()
|
||||
print("M3U Updated")
|
||||
|
||||
# Save data to .tv file (Enigma2)
|
||||
text_file = open('./public/output/userbouquet.tdtchannels.tv', "w+")
|
||||
text_file.write("#NAME @LaQuay https://github.com/LaQuay/TDTChannels" + "\n")
|
||||
|
|
Loading…
Reference in a new issue