mirror of
https://github.com/Free-TV/IPTV.git
synced 2026-10-23 00:04:59 +02:00
Omit tvg-id attribute when EPG column is empty instead of emitting tvg-id=""
42 channels across 14 lists have an EPG column in their markdown table row but the column is blank. The condition in Channel.to_m3u_line() only checked for None (no EPG column at all) but not for an empty string, so these channels got a tvg-id="" attribute in the generated playlist. An empty tvg-id tells IPTV players "this channel has an EPG ID and it is the empty string", which prevents EPG matching rather than falling back to name-based matching the way a missing attribute would. Changing `if self.epg is not None` to `if self.epg` makes both None and empty string omit the attribute, matching the existing pattern used by the chno and country_code attributes on the lines just above.
This commit is contained in:
@@ -7,9 +7,9 @@ https://sktv.mxnticek.eu/new/stream.php?ch=Doma
|
||||
https://sktv.mxnticek.eu/new/stream.php?ch=Dajto
|
||||
#EXTINF:-1 tvg-name="Krimi" tvg-logo="https://raw.githubusercontent.com/tv-logo/tv-logos/main/countries/slovakia/markiza-krimi-sk.png" tvg-id="MarkizaKrimi.sk" tvg-chno="4" tvg-country="SK" group-title="Slovakia",Krimi
|
||||
https://sktv.mxnticek.eu/new/stream.php?ch=Krimi
|
||||
#EXTINF:-1 tvg-name="Klasik" tvg-logo="https://raw.githubusercontent.com/tv-logo/tv-logos/main/countries/slovakia/markiza-sk.png" tvg-id="" tvg-chno="5" tvg-country="SK" group-title="Slovakia",Klasik
|
||||
#EXTINF:-1 tvg-name="Klasik" tvg-logo="https://raw.githubusercontent.com/tv-logo/tv-logos/main/countries/slovakia/markiza-sk.png" tvg-chno="5" tvg-country="SK" group-title="Slovakia",Klasik
|
||||
https://cdnsk003.panaccess.com/local/Markiza_Klasik/index.m3u8
|
||||
#EXTINF:-1 tvg-name="Markíza TN Live" tvg-logo="https://raw.githubusercontent.com/tv-logo/tv-logos/main/countries/slovakia/markiza-sk.png" tvg-id="" tvg-chno="6" tvg-country="SK" group-title="Slovakia",Markíza TN Live
|
||||
#EXTINF:-1 tvg-name="Markíza TN Live" tvg-logo="https://raw.githubusercontent.com/tv-logo/tv-logos/main/countries/slovakia/markiza-sk.png" tvg-chno="6" tvg-country="SK" group-title="Slovakia",Markíza TN Live
|
||||
https://sktv.mxnticek.eu/new/stream.php?ch=Mark%C3%ADza%20TN%20Live
|
||||
#EXTINF:-1 tvg-name="JOJ" tvg-logo="https://raw.githubusercontent.com/tv-logo/tv-logos/main/countries/slovakia/joj-sk.png" tvg-id="JOJ.sk" tvg-chno="7" tvg-country="SK" group-title="Slovakia",JOJ
|
||||
https://sktv.mxnticek.eu/new/stream.php?ch=JOJ
|
||||
@@ -31,11 +31,11 @@ http://88.212.15.19/live/test_dvojka_25p/playlist.m3u8
|
||||
https://sktv.mxnticek.eu/new/stream.php?ch=STVR%20%3A24
|
||||
#EXTINF:-1 tvg-name="Šport" tvg-logo="https://raw.githubusercontent.com/tv-logo/tv-logos/main/countries/slovakia/rtvs-sport-sk.png" tvg-id="RTVSSport.sk" tvg-chno="16" tvg-country="SK" group-title="Slovakia",Šport
|
||||
https://sktv.mxnticek.eu/new/stream.php?ch=%C5%A0port
|
||||
#EXTINF:-1 tvg-name="STVR :O" tvg-logo=" :" tvg-id="" tvg-chno="17" tvg-country="SK" group-title="Slovakia",STVR :O
|
||||
#EXTINF:-1 tvg-name="STVR :O" tvg-logo=" :" tvg-chno="17" tvg-country="SK" group-title="Slovakia",STVR :O
|
||||
https://sktv.mxnticek.eu/new/stream.php?ch=STVR%20%3AO
|
||||
#EXTINF:-1 tvg-name="NR SR" tvg-logo="" tvg-id="" tvg-chno="18" tvg-country="SK" group-title="Slovakia",NR SR
|
||||
#EXTINF:-1 tvg-name="NR SR" tvg-logo="" tvg-chno="18" tvg-country="SK" group-title="Slovakia",NR SR
|
||||
https://n11.stv.livebox.sk/stv-tv/stv4.stream/playlist.m3u8
|
||||
#EXTINF:-1 tvg-name="STVR Live" tvg-logo=" Liv" tvg-id="" tvg-chno="19" tvg-country="SK" group-title="Slovakia",STVR Live
|
||||
#EXTINF:-1 tvg-name="STVR Live" tvg-logo=" Liv" tvg-chno="19" tvg-country="SK" group-title="Slovakia",STVR Live
|
||||
https://sktv.mxnticek.eu/new/stream.php?ch=STVR%20Live
|
||||
#EXTINF:-1 tvg-name="TA3" tvg-logo="https://raw.githubusercontent.com/tv-logo/tv-logos/main/countries/slovakia/ta3-sk.png" tvg-id="TA3.sk" tvg-chno="20" tvg-country="SK" group-title="Slovakia",TA3
|
||||
https://sktv.mxnticek.eu/new/stream.php?ch=TA3
|
||||
|
||||
Reference in New Issue
Block a user