easyepgBY YERMAN
Home / Guides / Generate an EPG from an M3U playlist: a worked example

EASYEPG FIELD GUIDE / SETUP & SOLUTIONS

Generate an EPG from an M3U playlist: a worked example

Create an XMLTV EPG from an M3U playlist: import live channels, preview coverage, understand tvg-id matching and connect the finished guide to your player.

Updated 21 October 2026 · EasyEPG by Yerman

Quick answer: match the playlist to a schedule source

To generate an EPG from an M3U playlist, you need channel identities and a separate source of programme listings. The playlist alone cannot supply future schedules. Import its channel metadata, select the live groups, inspect available matches and produce XMLTV with IDs your player can connect to the streams.

If your provider already supplies a suitable XMLTV guide, you may only need to add and assign it in the player. The steps below explain EasyEPG’s alternative workflow and a fictional ID example; they do not imply that every channel has coverage.

  1. Check that your player accepts an external XMLTV source.
  2. Import the same playlist you actually watch and select the required live groups.
  3. Review the essential channels and programme dates before paying.
  4. After generation, add the full XMLTV URL and associate it with the playlist.
  5. Refresh, then compare a known channel’s current and next programme.

An M3U is a channel list, not a schedule

An extended M3U entry tells a player where to find a stream and can label it with a name, group and tvg-id. It normally contains no future programme titles. Generating an EPG means identifying those channels and using separate programme data to build XMLTV. It is not possible to extract a week of listings from a bare stream address alone.

EasyEPG handles the identification and hosted output. You import your own playlist, limit it to the live groups you want and check the result before purchasing. This example explains the relationship between the files; the names and addresses below are fictional teaching examples, not a claim about live source coverage.

Start with one clearly identified channel

The group helps you choose the relevant package. The display name helps channel identification. The tvg-id gives the player an exact identifier to pair with the finished XMLTV file. The example.invalid address is deliberately non-working: use your own authorised provider’s playlist for a real build.

#EXTM3U
#EXTINF:-1 tvg-id="example.news.uk" tvg-name="Example News UK" group-title="UK News",Example News UK
https://example.invalid/live/stream.ts

Import, select and inspect

On Create an EPG, choose File and give the guide a recognisable name. Select your extended playlist. If you have a download address instead, choose M3U URL; an Xtream account has its own input.

After the import finishes, select the desired groups. In this fictional example you would keep UK News. On a real playlist, the matcher now tries to find safe channel identities with current programme data. Open the programme preview and check the channel’s actual schedule.

A successful preview is evidence for that submitted entry at that time. A similarly named source on the coverage page is only a clue. If there is no suitable schedule, the entry remains unmatched; do not treat a plausible channel name as proof.

See the identifier that joins the guide to the channel

The example below shows a channel declaration followed by a programme that references the same ID. The playlist example above uses that ID too. The date and title are fictional teaching values, not evidence of live channel coverage. For matched entries, EasyEPG retains supplied IDs where a valid output can be produced.

<?xml version="1.0" encoding="UTF-8"?>
<tv>
  <channel id="example.news.uk">
    <display-name>Example News UK</display-name>
  </channel>
  <programme channel="example.news.uk" start="20261105190000 +0000" stop="20261105193000 +0000">
    <title>Example Evening Bulletin</title>
  </programme>
</tv>

What if the playlist has no tvg-id?

EasyEPG can attempt identity matching from the available names and group context, but the player still needs a way to connect the output schedule. Where an input ID is absent, the guide generates an ID such as easyepg.GUIDE.ROW and shows it in the paid guide’s channel-ID list.

Assign that guide channel manually in your player, or use an editor to give the corresponding playlist entry the same ID. EasyEPG does not rewrite or host your original stream playlist. If your player has neither ID editing nor manual EPG assignment, resolve that compatibility issue before buying.

Finish with one channel, then check the rest

After payment and generation, add the full private XMLTV URL to the player’s EPG source, refresh and inspect a familiar channel. Check the current programme and the next one against the expected local time.

If one channel works and another stays blank, investigate its ID or source coverage rather than repeatedly reimporting the entire playlist. If every channel is blank, check source assignment, feed download and access expiry first. The matching preview, channel-ID list and last-built timestamp give you a specific place to start.