leoca
305dcc5c71
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.
2026-09-23 13:37:14 +00:00
..
2026-09-06 14:14:09 +02:00
2026-08-18 04:53:59 +00:00
2026-09-06 14:19:21 +02:00
2026-08-16 20:44:30 +02:00
2026-09-06 18:37:33 +02:00
2026-08-18 04:44:20 +00:00
2026-08-24 09:21:45 +00:00
2026-09-23 13:37:14 +00:00
2026-08-18 17:23:27 +00:00
2026-08-17 19:43:29 +00:00
2026-08-18 04:44:20 +00:00
2026-08-24 09:21:45 +00:00
2026-08-22 07:17:52 +00:00
2026-08-16 20:44:30 +02:00
2026-08-22 07:10:34 +00:00
2026-09-06 19:59:07 +02:00
2026-08-18 04:44:20 +00:00
2026-09-06 09:24:40 +02:00
2026-09-06 14:19:21 +02:00
2026-09-23 13:37:14 +00:00
2026-09-05 07:34:09 +00:00
2026-08-18 04:53:59 +00:00
2026-08-18 04:44:20 +00:00
2026-08-18 04:53:59 +00:00
2026-08-24 09:21:45 +00:00
2026-08-24 09:21:45 +00:00
2026-08-24 09:21:45 +00:00
2026-08-18 04:44:20 +00:00
2026-08-24 09:21:45 +00:00
2026-08-31 20:37:44 +02:00
2026-08-16 20:44:30 +02:00
2026-08-16 20:44:30 +02:00
2023-11-27 22:25:12 +00:00
2026-09-23 13:37:14 +00:00
2026-04-09 03:21:33 +00:00
2026-08-22 07:05:28 +00:00
2026-04-09 03:21:33 +00:00
2026-08-18 04:44:20 +00:00
2026-08-17 19:43:29 +00:00
2026-09-05 20:57:03 +02:00
2026-08-24 09:21:45 +00:00
2026-09-13 11:28:38 +00:00
2026-09-23 13:37:14 +00:00
2026-08-17 07:10:39 +00:00
2026-09-06 14:19:21 +02:00
2026-08-24 09:21:45 +00:00
2026-08-16 09:14:33 +02:00
2026-08-24 09:21:45 +00:00
2026-08-18 09:49:30 +00:00
2026-08-22 07:17:52 +00:00
2026-08-24 09:21:45 +00:00
2026-08-17 07:06:00 +00:00
2026-09-06 19:49:43 +02:00
2026-08-18 04:44:20 +00:00
2026-08-22 07:17:52 +00:00
2026-08-24 09:21:45 +00:00
2026-09-23 13:37:14 +00:00
2026-08-16 20:44:30 +02:00
2026-08-18 04:53:59 +00:00
2026-08-16 20:44:30 +02:00
2026-09-06 19:49:43 +02:00
2026-09-23 13:37:14 +00:00
2026-08-16 20:44:30 +02:00
2026-08-16 20:44:30 +02:00
2026-08-18 04:53:59 +00:00
2026-08-24 09:21:45 +00:00
2026-09-23 13:37:14 +00:00
2026-08-17 07:06:00 +00:00
2026-08-16 20:44:30 +02:00
2026-09-05 21:00:23 +02:00
2026-08-18 04:53:59 +00:00
2026-08-18 04:44:20 +00:00
2026-09-06 15:28:16 +02:00
2026-09-23 13:37:14 +00:00
2026-08-18 04:44:20 +00:00
2026-08-18 04:44:20 +00:00
2026-08-18 04:25:55 +00:00
2026-08-24 09:21:45 +00:00
2026-09-05 21:02:21 +02:00
2026-08-16 20:31:32 +02:00
2026-08-24 09:21:45 +00:00
2026-09-23 13:37:14 +00:00
2026-08-16 20:44:30 +02:00
2026-09-23 13:37:14 +00:00
2026-08-24 09:21:45 +00:00
2026-08-24 09:21:45 +00:00
2026-08-24 09:21:45 +00:00
2026-08-18 04:25:55 +00:00
2026-08-24 09:21:45 +00:00
2026-08-24 09:21:45 +00:00
2026-08-16 20:44:30 +02:00
2026-08-16 20:44:30 +02:00
2026-09-23 13:37:14 +00:00
2026-09-23 13:37:14 +00:00
2026-08-22 07:17:52 +00:00
2026-09-06 15:28:16 +02:00
2026-09-04 04:58:09 +00:00
2026-08-18 04:53:59 +00:00