Commit Graph

21 Commits (e159bfaa99ec0f3d265144f378c95d885fd9b0ab)

Author SHA1 Message Date
Pavel Glotov 01e44ee83b fixed an error creating playlists by country, there was no line feed after the first line 2023-03-18 09:52:44 +04:00
Kálmán „KAMI” Szalai 9c7f4ff8d3 Better playlist formatting 2023-03-15 06:57:43 +01:00
Kálmán „KAMI” Szalai a35f43a1c0 Process EPG file 2023-03-15 06:55:55 +01:00
Kálmán „KAMI” Szalai bd85fd5b1f Try to avoid f-string expression part cannot include a backslash error 2023-03-15 06:46:54 +01:00
Kálmán „KAMI” Szalai 3c632383b9 Fix string generation 2023-03-15 06:42:27 +01:00
Kálmán „KAMI” Szalai dff9d89787 Remove newlines from EPG list 2023-03-15 06:36:19 +01:00
KAMI 213f73acd7 Fix path for invidual playlists 2023-03-14 06:21:22 +01:00
KAMI 22bf6c54ed Fix path 2023-03-14 06:16:15 +01:00
KAMI 3c31794611 OS independent path, filename join 2023-03-14 06:14:09 +01:00
Pavel Glotov c77f4f4889 added creation of separate playlist files by country to the playlists directory 2023-03-05 15:32:33 +04:00
Morpho c89a182fd5 new file: epglist.txt
modified:   make_playlist.py
2023-03-03 23:57:55 +04:00
Robert Walmsley de809af78d Update make_playlist.py
I removed the try/except block in the __init__ method. Instead, I split the md_line string into a list of parts and extract the relevant information from the list. If the list has more than 6 elements, then it means that the epg value is present, otherwise it is set to None.
I added a main function to contain the code that reads the input files and generates the output playlist.
I made minor formatting changes, such as adding blank lines between the different sections of the code, and using parentheses to enclose the arguments in the print statements. These changes are not strictly necessary, but they can make the code easier to read and understand.
2022-12-31 00:56:32 +01:00
infid0 8bbda8bd44 Update make_playlist.py
- Replaced old epg by sites with new epg by country
2022-11-01 22:09:13 +01:00
Free TV 9651dadbc7 Move md files into a directory 2022-09-02 12:19:54 +01:00
Kálmán „KAMI” Szalai 8fc602ad6f Add x-tvg-url support 2022-07-25 11:02:42 +02:00
Kálmán „KAMI” Szalai bf1d93323d Add initial support of EPG id 2022-07-23 09:26:45 +02:00
Axel Schneider 64679be231 Update German TV (#76)
* Update germany.md

adding some channels

* Update germany.md

* Update germany.md

One aktualisiert, RBB hinzugefügt.

* Update germany.md

* Update make_playlist.py

using f-strings

* Update germany.md

Co-authored-by: Free TV <82442641+freetv332@users.noreply.github.com>
2021-08-17 13:15:41 +01:00
Pasquale Coppola 024f937995 Update make_playlist.py (#62)
I've added "encoding='utf-8'" in line 25 and line 30 because on Windows the original script return some error (UnicodeEncodeError: 'charmap' codec can't encode character).
2021-07-14 14:15:32 +01:00
Free TV ca21cf9de3 Generate playlist 2021-05-24 12:43:58 +01:00
Free TV 21048bacff Fix python script permissions 2021-04-26 10:28:44 +01:00
Free TV f4d1a921e4 Add playlist generator and playlist 2021-04-13 13:16:51 +01:00