mirror of
https://github.com/theariatv/theariatv.github.io.git
synced 2026-11-19 22:28:27 +01:00
feat: Add stream checker, GitHub action, and UI for not-working streams
This commit is contained in:
parent
fc6d1eae5c
commit
19881c7c97
228 changed files with 5586 additions and 7784 deletions
|
|
@ -104,13 +104,15 @@ def parse_md_files():
|
|||
continue
|
||||
|
||||
# Generate the M3U line with the properly formatted group-title (with flag)
|
||||
m3u_entry = f'#EXTINF:-1 tvg-id="{epg_id}" tvg-logo="{logo}" group-title="{state_name}",{channel_name}\n{link}\n'
|
||||
m3u_entry = f'#EXTINF:-1 tvg-id="{epg_id}" tvg-logo="{logo}" group-title="{state_name}" tvg-status="{stream_type}",{channel_name}\n{link}\n'
|
||||
|
||||
if stream_type == "stable":
|
||||
state_stable.append(m3u_entry)
|
||||
state_unstable.append(m3u_entry)
|
||||
elif stream_type == "unstable":
|
||||
state_unstable.append(m3u_entry)
|
||||
elif stream_type == "not-working":
|
||||
state_unstable.append(m3u_entry)
|
||||
else:
|
||||
state_unstable.append(m3u_entry)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue