[PR #268] [MERGED] Update make_playlist.py #555

Closed
opened 2026-03-03 12:06:36 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Free-TV/IPTV/pull/268
Author: @robbiebusinessacc
Created: 12/30/2022
Status: Merged
Merged: 1/19/2023
Merged by: @KAMI911

Base: masterHead: master


📝 Commits (1)

📊 Changes

1 file changed (+14 additions, -12 deletions)

View changed files

📝 make_playlist.py (+14 -12)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Free-TV/IPTV/pull/268 **Author:** [@robbiebusinessacc](https://github.com/robbiebusinessacc) **Created:** 12/30/2022 **Status:** ✅ Merged **Merged:** 1/19/2023 **Merged by:** [@KAMI911](https://github.com/KAMI911) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`e892773`](https://github.com/Free-TV/IPTV/commit/e8927738991be7d1665b5cd8e74e37096a347d8e) Update make_playlist.py ### 📊 Changes **1 file changed** (+14 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `make_playlist.py` (+14 -12) </details> ### 📄 Description 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 12:06:36 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/IPTV#555
No description provided.