Skip to content
Vikings IPTV
Streaming Technology

EPG Sources for IPTV: How XMLTV Guides Work

EPG sources supply the programme guide in your IPTV player. Learn how XMLTV works, where a guide link comes from, how to add one in TiviMate and fix mismatches.

By Vikings IPTV Editorial TeamUpdated 6 min read

A television showing an electronic programme guide grid
Photo: LoMit / Wikimedia Commons · CC BY-SA 3.0 · cropped

Channels without a guide are just a list of names. The programme guide is what tells you what is on now, what is next and what you missed, and it also drives features such as catch-up and recording. In IPTV that guide does not come with the video. It arrives separately, from an EPG source, and understanding that separation solves most guide problems.

What is an EPG source?

An EPG source is a web address that supplies programme listings for your channels, usually as an XMLTV file. Your IPTV player downloads it, matches each listing to a channel in your playlist using an ID, and displays the result as a programme guide. Most services provide the EPG source along with your login.

EPG stands for electronic programme guide. XMLTV is the common file format used to exchange the listings.

How an XMLTV guide works

An XMLTV file is a long text document with two kinds of entry:

  • Channels, each with an ID such as bbcone.uk and a display name.
  • Programmes, each with a channel ID, a start time, an end time, a title and often a description.

Your playlist, meanwhile, lists each channel with its own ID in a field called tvg-id. The player joins the two:

  1. It downloads the playlist and the XMLTV file.
  2. For each channel it looks up the matching ID in the guide data.
  3. It shows that channel's programmes in the grid, converted to your time zone.

When the IDs match, the guide appears. When they do not, the channel shows "no information", even though the listings are sitting in the file.

Where EPG sources come from

SourceHow you get itNotes
Your IPTV serviceSupplied automatically with an Xtream Codes login, or as a separate link with an M3U playlistThe right choice in almost every case; IDs already match
A guide data subscriptionPaid services that license listings from broadcastersUsed by enthusiasts building their own setups
Broadcaster schedulesPublished by the channels themselvesThe original source of all listings

The first is what nearly everyone should use. With an Xtream Codes login, the player fetches the guide from the same server without your doing anything. With an M3U playlist, the guide link is often written into the first line of the playlist, or given to you separately. M3U vs Xtream Codes explains why the Xtream Codes login is the easier of the two.

A word about free EPG source URLs

Searches for a "free EPG source URL" lead to lists of links on forums and file-sharing sites. Be cautious. Many scrape listings without permission, most break without warning, their channel IDs will not match your playlist, and some links point at untrustworthy sites. If your guide is missing, the fix is nearly always with your provider or your settings, not a link from a forum.

How to add an EPG source in TiviMate

TiviMate is the player people most often ask about. Menu names may shift slightly between versions.

With an Xtream Codes login, the guide is added automatically. If it is missing:

  1. Go to Settings > EPG.
  2. Choose the option to update the EPG.
  3. Wait several minutes for the download.

With an M3U playlist:

  1. Go to Settings > EPG > EPG sources.
  2. Choose Add source.
  3. Enter the XMLTV link from your provider and give it a name.
  4. Return to Settings > Playlists, open your playlist and make sure the new source is selected for it.
  5. Update the EPG.

To fix a single channel with no listings:

  1. Long-press the channel in the list.
  2. Choose the option to assign an EPG.
  3. Pick the correct channel from the guide data.

Our TiviMate setup guide covers adding the login itself.

Adding an EPG in other players

  • IPTV Smarters Pro fetches the guide with an Xtream Codes login and has an option to install or refresh the EPG from its menu.
  • Kodi's PVR IPTV Simple Client has a separate XMLTV field in its settings; see IPTV on Raspberry Pi.
  • Smart TV playlist-upload players usually offer an EPG field on the same web page where you upload the playlist.
  • VLC does not show a programme grid.

Why a guide is empty or wrong

SymptomCauseFix
Whole guide emptyNot downloaded yet, or no source setWait, then update; add the source
Some channels emptyNo data for those channels, or IDs do not matchAssign the EPG manually; ask your provider
All times out by whole hoursTime zone or time-shift settingCorrect the device time zone; adjust the EPG offset
Out by one hour after a clock changeDaylight saving settingCheck automatic time; adjust the offset
Guide stops a day aheadSource has a short window or has not refreshedUpdate the EPG; shorten the update interval
Wrong programmes on a channelMatched to the wrong IDReassign the channel's EPG

The step-by-step version is in how to fix a missing or wrong TV guide.

Settings that help

  • Update interval. Once or twice a day is plenty. Very frequent updates slow the player for no benefit.
  • Days of guide to keep. Storing fewer past days keeps the app responsive on small devices. Catch-up needs some history, as explained in IPTV catch-up TV.
  • Hide unused groups. The player has less to match and load.

What a good guide looks like

A full, accurate guide is a sign of a service run with care. When comparing providers, check that:

  • your regular channels all have listings
  • titles and times match what is on air in your time zone
  • the guide extends at least a few days ahead
  • descriptions are present, not just titles

Guide quality is one of the points in our 12-point review checklist. Our own service includes a programme guide, as set out on the features page.

Frequently asked questions

What is an XMLTV file?

It is a text file in a standard format that lists channels and their programmes with start and end times. IPTV players read it to build the programme guide.

Where do I find my EPG URL?

From your IPTV service. With an Xtream Codes login it is fetched automatically. With an M3U playlist it is supplied as a separate link or included in the playlist itself.

Are free EPG source URLs safe to use?

Often not. They break frequently, rarely match your channel IDs and may come from untrustworthy sites. Use the source your provider supplies.

Why do some channels have no guide information?

Either the service has no listings for that channel, or the channel's ID in your playlist does not match the ID in the guide data. Manual assignment in your player fixes the second case.

How often should the EPG update?

Once or twice a day is enough. Listings rarely change more often than that.

Summary

EPG sources deliver the programme guide separately from the video, as an XMLTV file matched to your channels by ID. Use the source your provider supplies, prefer the Xtream Codes login so matching is automatic, and fix time offsets and unmatched channels in your player's settings.

Looking for a service with a guide included? See the Viking IPTV plans.

Streaming Technology

M3U vs Xtream Codes: Which IPTV Login Should You Use?

M3U playlists and Xtream Codes logins compared — what each one is, how they differ for live TV, films, series and the guide, and which to choose in your player app.

Updated · 3 min read

Need a hand with setup?

Tell us your device and app — we'll walk you through it.