Programme data

What Is an IPTV EPG? XMLTV, Channel IDs & Programme Data

An EPG (Electronic Programme Guide) is programme metadata that tells a compatible player what is scheduled on a channel. It complements a playlist or stream; it does not provide the video itself.

IPTV guides7 min read
Diagram showing how an M3U playlist, EPG programme data, and a compatible media player work together
How playlist entries, programme-guide data, and a player can work together.

What does EPG mean?

EPG stands for Electronic Programme Guide. It is structured information about programmes, such as titles, descriptions, start times, end times, episode information, and channel identifiers.

An EPG is therefore different from the media stream. A player can have a working stream with no guide data, or guide data for a channel whose stream is currently unavailable.

How an EPG works

A player retrieves programme-guide data from a source and associates that data with channels in its playlist or service account. The application then uses the matching records to display schedules such as what is on now and what comes next.

Different services and players use different data formats and matching rules. Follow the documentation for the source and player rather than assuming every EPG feed is interchangeable.

EPG vs. M3U playlist

An M3U playlist and an EPG solve different parts of the same interface. The playlist describes media entries or locations. The EPG describes programming associated with channels.

  • M3U: channel or media entry information and locations.
  • EPG: programme names, descriptions, schedules, and related metadata.
  • Player: combines supported data to create the channel and programme interface.

What is XMLTV?

XMLTV is a commonly used XML-based format for television programme data. An XMLTV document can contain channels and programme records that applications use to build an EPG.

The presence of XMLTV does not guarantee that a particular player will import the feed correctly. The player may require a specific URL, identifier convention, timezone handling, or configuration.

How channels are matched to programme data

Matching usually depends on an identifier shared between the channel entry and the EPG data. If the identifiers do not match, a player may show a channel with no programmes even though the EPG source contains schedule information.

Channel names alone may not be a reliable matching key because names can vary in spelling, language, punctuation, or regional form.

EPG channel-matching checks
CheckPlaylist sideEPG side
IdentifierChannel ID used by the playlist or serviceCorresponding ID in the EPG source
DuplicatesRegional or repeated channel entriesOverlapping schedule blocks
Manual mappingPlayer's documented mapping optionsSupported import formats
FallbackExact display name, spelling includedName variants and translations

Time zones and programme schedules

Guide data can appear shifted when the source, device, or player interprets times in different time zones. Daylight-saving rules can also affect how schedules are displayed.

When programme times look wrong, check the source timezone, device timezone, player settings, and any documented XMLTV timezone information before changing channel mappings.

Why EPG data can be missing or incorrect

A missing guide can come from a failed EPG request, an expired or unavailable source, an identifier mismatch, incomplete schedule coverage, timezone handling, or player compatibility. It is useful to separate these cases instead of treating every blank guide as a stream problem.

  • The EPG source cannot be reached.
  • The guide does not contain the channel identifier your player expects.
  • The programme schedule is incomplete or outdated.
  • The player cannot parse or import the supplied format.
  • Timezone or daylight-saving settings shift the displayed times.

A practical EPG diagnostic

Start with one channel that you know should have programme data. Confirm that its stream or playlist entry works, inspect the channel identifier if the player exposes it, then check whether the EPG source contains the same identifier and current programme records. This narrows the problem before you change player settings.

If the guide is still blank, keep the playlist and EPG paths separate: a working stream does not prove that the guide request succeeded, and a valid EPG feed does not prove that the player mapped it to the correct channel.

Match EPG identities before debugging the player

EPG problems often look like player problems when the underlying channel identity does not match. Before changing player settings, compare the identifier used by the playlist with the identifier supplied by the EPG source.

  • Confirm the EPG response is valid XMLTV or another format supported by the client.
  • Check the playlist channel identifier or documented mapping value.
  • Check that the EPG contains the same identifier or a supported mapping.
  • Confirm programme times and timezone handling before changing player configuration.
  • Only then investigate player-specific refresh, cache, or display behavior.

Connect EPG validation to playback diagnosis

If video playback works but programme information is missing, keep the EPG investigation separate from the media stream. Matching identifiers and valid guide data should be checked before changing unrelated player settings.

EPG refresh and caching

Some players cache guide data or refresh it on a schedule. If the source contains current programme records but the player shows older or empty data, check the player's documented refresh behavior before changing channel mappings.

When comparing results, note when the EPG feed was checked and whether the player was refreshed or restarted. This helps distinguish stale local data from a source-side problem.

How to validate an EPG feed before changing player settings

If you control the EPG source, validate the feed itself before changing channel mappings. Check that the response is the expected XMLTV-style document, that it contains the channel identifier you need, and that programme records cover the current time period.

For a third-party source, use its documented diagnostics and configuration guidance. Avoid exposing private URLs, credentials, or tokens while troubleshooting.

  • Feed response: confirm the source returns the expected guide data rather than an error or login page.
  • Channel record: confirm the required channel identifier exists in the feed.
  • Programme record: confirm that the channel has current or upcoming programme entries.
  • Time data: check timezone and schedule timestamps when programmes appear shifted.
  • Player mapping: only change manual mappings after confirming the source data and identifiers.

Further reading

Sources and documentation

Quick answers

Common questions

Does an EPG contain the video stream?

No. An EPG contains programme metadata and schedules. The actual media comes from a separate stream or media source.

What is XMLTV used for?

XMLTV is a format used to represent television programme data. Compatible applications can use XMLTV data to populate an electronic programme guide.

Why is my EPG empty even though the playlist works?

The guide source may be unavailable, the channel identifiers may not match, the schedule may be incomplete, or the player may not support the supplied EPG format.

Why are EPG times wrong?

Check timezone handling in the source, device, and player. A mismatch can shift programme times even when the underlying schedule data is present.