From c5cba2a42c8f3fd0936d383b7dad7780a2885c89 Mon Sep 17 00:00:00 2001 From: Free TV Date: Fri, 2 Sep 2022 12:19:54 +0100 Subject: [PATCH] Move md files into a directory --- README.md | 2 +- argentina.md => lists/argentina.md | 0 australia.md => lists/australia.md | 0 austria.md => lists/austria.md | 0 belarus.md => lists/belarus.md | 0 belgium.md => lists/belgium.md | 0 brazil.md => lists/brazil.md | 0 canada.md => lists/canada.md | 0 czech_republic.md => lists/czech_republic.md | 0 denmark.md => lists/denmark.md | 0 estonia.md => lists/estonia.md | 0 finland.md => lists/finland.md | 0 france.md => lists/france.md | 0 germany.md => lists/germany.md | 0 greece.md => lists/greece.md | 0 hungary.md => lists/hungary.md | 0 india.md => lists/india.md | 0 iraq.md => lists/iraq.md | 0 ireland.md => lists/ireland.md | 0 italy.md => lists/italy.md | 0 japan.md => lists/japan.md | 0 korea.md => lists/korea.md | 0 malta.md => lists/malta.md | 0 mexico.md => lists/mexico.md | 0 netherlands.md => lists/netherlands.md | 0 paraguay.md => lists/paraguay.md | 0 portugal.md => lists/portugal.md | 0 romania.md => lists/romania.md | 0 russia.md => lists/russia.md | 0 san_marino.md => lists/san_marino.md | 0 slovakia.md => lists/slovakia.md | 0 slovenia.md => lists/slovenia.md | 0 spain.md => lists/spain.md | 0 sweden.md => lists/sweden.md | 0 switzerland.md => lists/switzerland.md | 0 turkey.md => lists/turkey.md | 0 uk.md => lists/uk.md | 0 ukraine.md => lists/ukraine.md | 0 usa.md => lists/usa.md | 0 zz_movies.md => lists/zz_movies.md | 0 zz_news_en.md => lists/zz_news_en.md | 0 zz_news_es.md => lists/zz_news_es.md | 0 make_playlist.py | 1 + playlist.m3u8 | 2 +- 44 files changed, 3 insertions(+), 2 deletions(-) rename argentina.md => lists/argentina.md (100%) rename australia.md => lists/australia.md (100%) rename austria.md => lists/austria.md (100%) rename belarus.md => lists/belarus.md (100%) rename belgium.md => lists/belgium.md (100%) rename brazil.md => lists/brazil.md (100%) rename canada.md => lists/canada.md (100%) rename czech_republic.md => lists/czech_republic.md (100%) rename denmark.md => lists/denmark.md (100%) rename estonia.md => lists/estonia.md (100%) rename finland.md => lists/finland.md (100%) rename france.md => lists/france.md (100%) rename germany.md => lists/germany.md (100%) rename greece.md => lists/greece.md (100%) rename hungary.md => lists/hungary.md (100%) rename india.md => lists/india.md (100%) rename iraq.md => lists/iraq.md (100%) rename ireland.md => lists/ireland.md (100%) rename italy.md => lists/italy.md (100%) rename japan.md => lists/japan.md (100%) rename korea.md => lists/korea.md (100%) rename malta.md => lists/malta.md (100%) rename mexico.md => lists/mexico.md (100%) rename netherlands.md => lists/netherlands.md (100%) rename paraguay.md => lists/paraguay.md (100%) rename portugal.md => lists/portugal.md (100%) rename romania.md => lists/romania.md (100%) rename russia.md => lists/russia.md (100%) rename san_marino.md => lists/san_marino.md (100%) rename slovakia.md => lists/slovakia.md (100%) rename slovenia.md => lists/slovenia.md (100%) rename spain.md => lists/spain.md (100%) rename sweden.md => lists/sweden.md (100%) rename switzerland.md => lists/switzerland.md (100%) rename turkey.md => lists/turkey.md (100%) rename uk.md => lists/uk.md (100%) rename ukraine.md => lists/ukraine.md (100%) rename usa.md => lists/usa.md (100%) rename zz_movies.md => lists/zz_movies.md (100%) rename zz_news_en.md => lists/zz_news_en.md (100%) rename zz_news_es.md => lists/zz_news_es.md (100%) diff --git a/README.md b/README.md index 8d09806..14fc0ac 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ This is a playlist for everybody. 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 `

` line is used as the group title. diff --git a/argentina.md b/lists/argentina.md similarity index 100% rename from argentina.md rename to lists/argentina.md diff --git a/australia.md b/lists/australia.md similarity index 100% rename from australia.md rename to lists/australia.md diff --git a/austria.md b/lists/austria.md similarity index 100% rename from austria.md rename to lists/austria.md diff --git a/belarus.md b/lists/belarus.md similarity index 100% rename from belarus.md rename to lists/belarus.md diff --git a/belgium.md b/lists/belgium.md similarity index 100% rename from belgium.md rename to lists/belgium.md diff --git a/brazil.md b/lists/brazil.md similarity index 100% rename from brazil.md rename to lists/brazil.md diff --git a/canada.md b/lists/canada.md similarity index 100% rename from canada.md rename to lists/canada.md diff --git a/czech_republic.md b/lists/czech_republic.md similarity index 100% rename from czech_republic.md rename to lists/czech_republic.md diff --git a/denmark.md b/lists/denmark.md similarity index 100% rename from denmark.md rename to lists/denmark.md diff --git a/estonia.md b/lists/estonia.md similarity index 100% rename from estonia.md rename to lists/estonia.md diff --git a/finland.md b/lists/finland.md similarity index 100% rename from finland.md rename to lists/finland.md diff --git a/france.md b/lists/france.md similarity index 100% rename from france.md rename to lists/france.md diff --git a/germany.md b/lists/germany.md similarity index 100% rename from germany.md rename to lists/germany.md diff --git a/greece.md b/lists/greece.md similarity index 100% rename from greece.md rename to lists/greece.md diff --git a/hungary.md b/lists/hungary.md similarity index 100% rename from hungary.md rename to lists/hungary.md diff --git a/india.md b/lists/india.md similarity index 100% rename from india.md rename to lists/india.md diff --git a/iraq.md b/lists/iraq.md similarity index 100% rename from iraq.md rename to lists/iraq.md diff --git a/ireland.md b/lists/ireland.md similarity index 100% rename from ireland.md rename to lists/ireland.md diff --git a/italy.md b/lists/italy.md similarity index 100% rename from italy.md rename to lists/italy.md diff --git a/japan.md b/lists/japan.md similarity index 100% rename from japan.md rename to lists/japan.md diff --git a/korea.md b/lists/korea.md similarity index 100% rename from korea.md rename to lists/korea.md diff --git a/malta.md b/lists/malta.md similarity index 100% rename from malta.md rename to lists/malta.md diff --git a/mexico.md b/lists/mexico.md similarity index 100% rename from mexico.md rename to lists/mexico.md diff --git a/netherlands.md b/lists/netherlands.md similarity index 100% rename from netherlands.md rename to lists/netherlands.md diff --git a/paraguay.md b/lists/paraguay.md similarity index 100% rename from paraguay.md rename to lists/paraguay.md diff --git a/portugal.md b/lists/portugal.md similarity index 100% rename from portugal.md rename to lists/portugal.md diff --git a/romania.md b/lists/romania.md similarity index 100% rename from romania.md rename to lists/romania.md diff --git a/russia.md b/lists/russia.md similarity index 100% rename from russia.md rename to lists/russia.md diff --git a/san_marino.md b/lists/san_marino.md similarity index 100% rename from san_marino.md rename to lists/san_marino.md diff --git a/slovakia.md b/lists/slovakia.md similarity index 100% rename from slovakia.md rename to lists/slovakia.md diff --git a/slovenia.md b/lists/slovenia.md similarity index 100% rename from slovenia.md rename to lists/slovenia.md diff --git a/spain.md b/lists/spain.md similarity index 100% rename from spain.md rename to lists/spain.md diff --git a/sweden.md b/lists/sweden.md similarity index 100% rename from sweden.md rename to lists/sweden.md diff --git a/switzerland.md b/lists/switzerland.md similarity index 100% rename from switzerland.md rename to lists/switzerland.md diff --git a/turkey.md b/lists/turkey.md similarity index 100% rename from turkey.md rename to lists/turkey.md diff --git a/uk.md b/lists/uk.md similarity index 100% rename from uk.md rename to lists/uk.md diff --git a/ukraine.md b/lists/ukraine.md similarity index 100% rename from ukraine.md rename to lists/ukraine.md diff --git a/usa.md b/lists/usa.md similarity index 100% rename from usa.md rename to lists/usa.md diff --git a/zz_movies.md b/lists/zz_movies.md similarity index 100% rename from zz_movies.md rename to lists/zz_movies.md diff --git a/zz_news_en.md b/lists/zz_news_en.md similarity index 100% rename from zz_news_en.md rename to lists/zz_news_en.md diff --git a/zz_news_es.md b/lists/zz_news_es.md similarity index 100% rename from zz_news_es.md rename to lists/zz_news_es.md diff --git a/make_playlist.py b/make_playlist.py index cd5f8c1..3043a02 100755 --- a/make_playlist.py +++ b/make_playlist.py @@ -152,6 +152,7 @@ class Channel(): if __name__ == "__main__": with open("playlist.m3u8", "w", encoding='utf-8') as playlist: print(f'#EXTM3U x-tvg-url="{",".join(EPG_LIST)}"', file=playlist) + os.chdir("lists") for filename in sorted(os.listdir(".")): if filename == "README.md" or not filename.endswith(".md"): continue diff --git a/playlist.m3u8 b/playlist.m3u8 index 33ee06b..b2a0c3e 100644 --- a/playlist.m3u8 +++ b/playlist.m3u8 @@ -1569,7 +1569,7 @@ https://yoink-that-stv-jgskjbq68tnj.runkit.sh/?x=4 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 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 #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