Move md files into a directory

This commit is contained in:
Free TV
2022-09-02 12:19:54 +01:00
parent 006f144681
commit c5cba2a42c
44 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ This is a playlist for everybody.
Format Format
====== ======
The m3u8 playlist is generated from the .md files by the .py script. The m3u8 playlist is generated by `make_playlist.py`, using the `.md` files located in `lists`.
Each .md file represesnts a group. The `<h1>` line is used as the group title. Each .md file represesnts a group. The `<h1>` line is used as the group title.
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
+1
View File
@@ -152,6 +152,7 @@ class Channel():
if __name__ == "__main__": if __name__ == "__main__":
with open("playlist.m3u8", "w", encoding='utf-8') as playlist: with open("playlist.m3u8", "w", encoding='utf-8') as playlist:
print(f'#EXTM3U x-tvg-url="{",".join(EPG_LIST)}"', file=playlist) print(f'#EXTM3U x-tvg-url="{",".join(EPG_LIST)}"', file=playlist)
os.chdir("lists")
for filename in sorted(os.listdir(".")): for filename in sorted(os.listdir(".")):
if filename == "README.md" or not filename.endswith(".md"): if filename == "README.md" or not filename.endswith(".md"):
continue continue
+1 -1
View File
@@ -1569,7 +1569,7 @@ https://yoink-that-stv-jgskjbq68tnj.runkit.sh/?x=4
https://yoink-that-stv-jgskjbq68tnj.runkit.sh/?x=6 https://yoink-that-stv-jgskjbq68tnj.runkit.sh/?x=6
#EXTINF:-1 tvg-name="NR SR" tvg-logo="https://i.imgur.com/sPDiS5q.png" group-title="Slovakia",NR SR #EXTINF:-1 tvg-name="NR SR" tvg-logo="https://i.imgur.com/sPDiS5q.png" group-title="Slovakia",NR SR
https://yoink-that-stv-jgskjbq68tnj.runkit.sh/?x=5 https://yoink-that-stv-jgskjbq68tnj.runkit.sh/?x=5
#EXTINF:-1 tvg-name="JOJ" tvg-logo="https://i.imgur.com/5BAWD0z.png" tvg-id="JOJ.sk" group-title="Slovakia",JOJ #EXTINF:-1 tvg-name="JOJ" tvg-logo="https://i.imgur.com/5BAWD0z.png" tvg-id="TVJOJ.sk" group-title="Slovakia",JOJ
https://st01-1.iptv.joj.sk/101-tv-pc.m3u8 https://st01-1.iptv.joj.sk/101-tv-pc.m3u8
#EXTINF:-1 tvg-name="JOJ Plus" tvg-logo="https://i.imgur.com/fKPliTj.png" tvg-id="JojPlus.sk" group-title="Slovakia",JOJ Plus #EXTINF:-1 tvg-name="JOJ Plus" tvg-logo="https://i.imgur.com/fKPliTj.png" tvg-id="JojPlus.sk" group-title="Slovakia",JOJ Plus
https://st01-1.iptv.joj.sk/102-tv-pc.m3u8 https://st01-1.iptv.joj.sk/102-tv-pc.m3u8