}
Players

Adding a public M3U playlist to Kodi

Load a public M3U list into Kodi through PVR IPTV Simple Client: the playlist fields, the empty programme guide, and why big lists start slowly.

7 min read Published Updated Editorial Team

Kodi plays a public playlist through an add-on it already ships: PVR IPTV Simple Client. That add-on reads an M3U playlist — remote address or local file — and an optional XMLTV guide, then presents the result as Live TV. There is nothing to buy and no account to create, which makes it the natural second option after VLC for testing a list you have found.

What Kodi needs

  • Kodi 20 (Nexus) or 21 (Omega). Multiple playlist and guide pairs need 20 or later.
  • The playlist as a URL or a saved .m3u / .m3u8 file.
  • Optionally an XMLTV guide URL, if one exists for the channels in the list.
  • No other PVR add-on enabled. Kodi's wiki advises disabling other PVR clients first, because two backends competing for the TV section is a common cause of an empty channel list.

If you have not checked the playlist yet, do that first: it is quicker to validate the file and sample a few entries than to diagnose the same faults inside Kodi's settings screens.

Add the playlist

In Kodi: Settings → Add-ons → My add-ons → PVR clients → PVR IPTV Simple Client → Configure. The add-on is configured rather than installed, and the settings are split into a General tab and an EPG tab.

  1. On the General tab, set Location to Remote path (Internet address) when the playlist lives at a URL, or Local path when you have saved the file.
  2. Paste the address into M3U play list URL, or browse to the file if you chose a local path. Paste the whole address, including everything after a question mark — public list URLs often carry parameters there.
  3. Leave the option that caches the M3U locally enabled unless you have a reason not to. It makes Kodi start faster on the next launch, at the cost of re-reading the list when it refreshes.
  4. Confirm with OK, make sure the add-on shows as enabled, then restart Kodi fully rather than only reloading the PVR.

On the next start a TV section appears in the main menu, and channels import in the background. Menus differ slightly between Kodi versions and skins, so the labels above may be one level deeper on yours; the add-on name and the two field names are the stable parts.

Kodi’s own copy of the list

On the General tab, Cache M3U at local storage keeps a copy of the playlist so the next start does not re-download it. That setting is behind the most confusing Kodi behaviour in this whole area: you fix or replace the playlist, Kodi still shows the old channels, and nothing about the settings looks wrong.

Auto refresh mode is the other half of the decision. It offers Disabled, Repeated refresh and Once per day. The add-on’s documentation notes that caching is disabled when auto refresh is used, so the choice is between a fast start and a list that keeps itself current — you do not get both. Clear the cache under Settings › PVR & Live TV after you change the playlist, so the old copy is not reused.

The programme guide, and why it will probably be empty

On the EPG tab, set Location to Remote path and paste an XMLTV URL if you have one. Kodi matches a channel to a guide entry by identifier: tvg-id in the playlist corresponds to the channel id in the XMLTV file, and when tvg-id is missing Kodi falls back to tvg-name against the guide's display name.

That is where public playlists fall down. The guide has to come from the same source as the channel ids, and a random public list rarely carries ids that match a public XMLTV feed. A guide URL that loads fine for a subscription playlist can therefore produce nothing here: channels play, the schedule stays blank. This is not a Kodi fault and no amount of re-entering the URL fixes it — see the live TV guide for how the ids relate.

Two smaller guide faults are worth separating from the identifier problem. A guide that is correct but offset by a fixed number of hours is a timezone or time-shift setting, not a broken feed — check the device’s timezone before touching the add-on. And a guide file that is enormous may never finish importing on a low-memory device, which appears as patchy coverage rather than as an error.

Groups and channel numbers

Kodi builds its channel groups from group-title. A list with consistent values becomes a set of groups you can page through with the remote’s left and right keys; a list without the attribute produces one long “All channels” group, which is why an enormous file stays unusable even when it parses cleanly.

Numbering is a separate layer. Start channel number sets where numbering begins, and Only number by channel order in M3U ignores any tvg-chno value in favour of file order. Kodi’s own PVR settings also decide whether the add-on’s numbers are used at all, so when numbers look wrong, one of those two layers is overriding the other. It matters because a remote can dial a number directly — and a list numbered by file order renumbers itself whenever the source reorders its entries.

Why big public lists crawl

Kodi imports every entry before it shows the TV section, so a list of ten thousand channels means ten thousand records to create. The first import can take minutes, and the add-on's cache means later starts are faster but not instant.

If you only watch a handful of channels, trimming the list is worth the effort. Removing entries you never open reduces import time and makes the channel list navigable, and the playlist checker will show you how many entries the file really has, along with duplicates and malformed lines.

Note what the cache does and does not do: it avoids the download, not the parse. A cached list still has to become channel records at startup, so a large file stays slow even when caching is working exactly as intended.

When nothing appears

If the TV section stays empty or the channel list is blank, work through these in order — each one is common and each has a different fix:

  • The playlist URL was wrong or has expired. Paste it into a browser: a valid play list address returns a file starting with #EXTM3U, not a web page or a login form.
  • The add-on is not enabled. Check Add-ons → My add-ons → PVR clients; an enabled add-on is labelled as such rather than offering to enable it.
  • Another PVR client is enabled. Disable it, restart Kodi, and re-check.
  • The file is malformed. A missing header or an #EXTINF with no address stops the import part-way. The checker reports those faults by line.
  • Kodi was restarted but not reloaded. A full restart of the application is what triggers a fresh import; closing the TV window does not.
  • Kodi is serving a cached copy. Remove the playlist and add it again, or change the auto refresh mode, instead of restarting once more.

One case is not a fault at all. On some skins the TV item is hidden from the main menu by default, so a correctly configured add-on looks as though it never loaded. Check the skin's own menu settings before changing any add-on option — otherwise the next hour is spent fixing something that already works, when the fix was two clicks away in the skin settings all along.

Reading the log when the settings look right

If the TV section stays empty and every setting appears correct, the add-on’s log is the only place that records why. Turn on Settings › System › Logging › Enable debug logging, restart Kodi, reproduce the failure once, then read the end of kodi.log: under %APPDATA%\Kodi\ on Windows, ~/.kodi/temp/ on Linux, and ~/Library/Logs/ on macOS.

Search the log for the add-on name and for the host in your playlist address. The lines you want are prefixed AddOnLog: PVR IPTV Simple Client, and they carry the status code only at debug level, for example Failed to open … 403 on the playlist URL. A failed fetch appears near the add-on’s name as an HTTP status or a parse error, which is far more specific than “unable to load playlist”. Redact any token in the address before pasting the line anywhere, and turn debug logging off afterwards — it records much more than everyday use requires.

Where this information comes from

The add-on name, the settings path and the tvg-id to channel-id mapping are described on the Kodi wiki page for PVR IPTV Simple Client, which also states that the add-on reads M3U playlists and XMLTV guides. The playlist structure itself — the header, metadata and address lines — follows RFC 8216, section 4.1. Menu labels differ between Kodi versions, so treat the paths above as the shape of the setting rather than the exact wording on your build.

What this cannot fix

The add-on opens the addresses the file names. A stale list gives you a channel list of dead addresses, and no setting changes that. The guide to failing public playlists covers the token expiry and host refusals behind it.

Kodi writes one line per failed entry, usually AddOnLog: PVR IPTV Simple Client: Failed to open …, with the status code present only at debug level. A stream that moved and a stream you are not allowed to watch produce the same line, which is why the playlist URL belongs in the log search.