}
Live TV

IPTV M3U playlist for live TV: EPG, zapping and what breaks

A public M3U list gives you channels, not a TV experience. Attach guide data, see why zapping lags, and learn which failures are the list’s.

8 min read Published Updated Editorial Team

An M3U playlist is a plain-text list of stream URLs. Making it work like live TV involves three separate parts: the list, a programme guide, and a player. The list holds names and URLs. It does not hold schedules, and nothing in it guarantees that a stream is currently running. Most "live TV problems" come from one of those gaps.

A list is not a channel guide

Each entry is two lines. This is a complete one:

#EXTINF:-1 tvg-id="bbcone.uk" tvg-name="BBC One" group-title="UK",BBC One
http://198.51.100.10:8080/live/bbcone/index.m3u8

The duration is -1, which marks a live or unknown length. The attributes do the work: tvg-id matches the guide, tvg-name overrides the display name, tvg-logo adds artwork, and group-title creates a category.

M3U has no formal standard for these attributes, so players differ in how they read them. The same file can show neat groups in one player and one long unsorted list in another. A list without attributes still plays. It just has nothing to sort or match on.

Where the programme guide comes from

Schedules come from a separate file, usually in the XMLTV format. It declares each channel with an id and lists one <programme> block per broadcast, with start and stop times:

<channel id="bbcone.uk"><display-name>BBC One</display-name></channel>
<programme start="20261124200000 +0000" stop="20261124203000 +0000" channel="bbcone.uk">

Some playlists name a guide URL in their header using x-tvg-url or url-tvg. These are conventions, not standards, and only some players read them. If the header has no guide URL, you usually enter one in the player. In Kodi's IPTV Simple Client, that is a setting in the add-on.

People searching for IPTV EPG or EPG for IPTV usually mean this same XMLTV file. An EPG is only as useful as its match rate. Before you add a guide URL, check that the playlist's tvg-id values appear in it. If most do not, a different guide file is the likely fix, not a different player.

Why tvg-id has to match the guide exactly

Matching is a string comparison. The tvg-id on an entry must equal the XMLTV channel id character for character, including case and punctuation. A list that uses bbc1 will not match a guide that uses BBC1.uk. If the list has no tvg-id, the player has to guess from the display name, and "BBC One HD", "BBC One" and "BBC1" are all different strings.

The symptom is easy to misread: channels play, but the guide grid shows nothing. That is a matching problem, not a stream problem. Copy one tvg-id from the playlist and search for it in the XMLTV file. If it is not there, the two files do not agree.

Why changing channels is slow

Most public lists use HLS streams. The HLS specification says a client should not start a live playlist within three target durations of its end. Playback therefore begins several segments behind the live edge, and every channel change repeats that start-up: a new manifest, new keys and a new first segment.

The arithmetic is in the manifest. #EXT-X-TARGETDURATION:6 with three segments puts the first frame 18 seconds behind live. A two-second target puts it 6 seconds behind. That floor is the reason a channel change can never be instant on these streams.

Some delay on a channel change is normal, and no player setting removes it. A change that hangs or takes tens of seconds usually means the entry points at a host that is not responding, and the player is waiting for a timeout. If the delay happens on many channels across many hosts, look at your connection or your player's buffer settings.

24/7 and looped channels

Many "live" entries in public lists are not broadcasts. They are one stream that runs continuously, often a file repeated for a themed block of shows. They have no schedule, so the guide either has nothing for them or shows the wrong programme.

Guide coverage across a public list is therefore usually partial, even with everything configured correctly. Established channels with recognised identifiers are likely to have data. Music loops, regional feeds and single-camera channels often will not. Judge your setup on the channels that should have schedules, not on the total count.

Geo-restriction and country feeds

A playlist is public, but the streams it points to may not be. The server checks where the request comes from and can refuse it. A geo-block often appears as 403 Forbidden or 451 Unavailable For Legal Reasons. A blocked network path shows up as a timeout instead. VLC puts all three in one dialog, VLC is unable to open the MRL 'http://…', and the status code appears only in Tools › Messages.

You can narrow it down without special tools. If other entries on the same host play, the refusal is probably specific to that stream. If every entry on the host fails, the host may be down or have withdrawn the feed. A list labelled for one country is a list of streams that expect requests from that country. For the site's position on which streams it covers, see the legal page.

Which players handle live lists well

Compare what a player can do with a large list. The main questions are whether it turns group-title into categories, whether it accepts an XMLTV URL and matches tvg-id, whether it caches the guide instead of downloading it on every launch, and whether search stays responsive with a list of thousands of entries.

  • VLC 3.0.16 plays entries and reports errors per stream. It has no programme guide for these streams. It is useful for diagnosis; the VLC guide covers setup.
  • Kodi 20 (Nexus) or 21 (Omega) with PVR IPTV Simple Client gives you groups and XMLTV guide data in a TV interface. Multiple playlist and guide pairs need Kodi 20 or later.
  • Android TV players, such as TiviMate, offer a guide grid and favourites. Gaps in guide coverage are most visible in these apps.

A five-minute live-TV check

Work through these in order. Changing the player first rarely fixes a list problem.

  1. Confirm the file starts with #EXTM3U and has one stream URL for each #EXTINF line. The format guide shows what a valid entry looks like.
  2. Run the file through the playlist checker to see entry counts, duplicate URLs and orphaned entries. It works in the browser and does not upload the file.
  3. Play two entries from different hosts in VLC. One dead channel suggests a dead entry. Many dead channels on one host suggest a dead host.
  4. In the player, check whether a channel that should have schedules shows them. If not, compare its tvg-id with the XMLTV file.
  5. If the list passes the earlier steps and the player still misbehaves, the player is the likely cause.

The resources page lists repositories of public playlists. The home page explains how this site selects entries.

Recording and catch-up

Catch-up is a case where a playlist can name a feature but not provide it. Provider exports sometimes include catchup and catchup-source attributes that point to an archive of past programmes. That archive belongs to the provider. A public list usually has no archive behind it, so catch-up often fails when you select an earlier programme. The attributes alone do not show whether an archive exists.

Recording is a player feature. It records the channel you are watching, and a timer for a future programme depends on the guide, which brings back the tvg-id matching issue. Timeshift needs the player to keep buffering the stream, so it works only while the connection holds. The playlist file does not describe either feature.

What this page cannot tell you

The file holds names and addresses. Whether the host answers, what it returns, and whether you may watch it are three separate questions: the checker reads the text, VLC reports the request, and the legal page covers rights. Guide data is a fourth file again, and a channel only has a schedule when its tvg-id appears in that file.

Questions people ask

Why does my playlist show channels but no TV guide?

The guide is a separate file. Either the playlist does not name one, the player was not given a URL, or the tvg-id values do not match the guide's channel ids. Channels that play with an empty grid usually point to a matching problem.

Why does changing channels take so long?

HLS playback starts behind the live edge, and every channel change restarts that process. Some delay is normal. A long hang usually means the entry points at a host that is not responding.

Can VLC show an EPG for an IPTV playlist?

Not for these streams. VLC plays the entries and reports errors. If you want a programme grid, use a player that reads XMLTV.

How do I add an EPG to an M3U playlist?

An M3U file does not hold the EPG. Find the guide URL (in the playlist header or from the source), enter it in your player's guide or XMLTV setting, and confirm that the tvg-id values match the guide's channel ids. Then reload the guide in the player.

Why do only some channels play?

Mixed results are common in public lists. Some entries are geo-blocked, some carry expired tokens, and some point to endpoints that have moved. The guide on why channels stop working covers each cause.