EPG and Logos
The EPG (electronic programme guide, in the panel also "guide") shows your viewers what is on now and what comes next. Logos are the channel pictures in the apps' channel list. This chapter shows how you add EPG sources, link channels to the guide and assign logos from the logo library, with one running example, "DE: Muster Sport 1 HD".
In the menu you find the EPG under Streams › EPG and the logo library under Settings › Logos. Per channel you set both in the channel editor (chapter Live Streams).
1. The terms in one sentence
| Term | What it is |
|---|---|
| EPG source | An XMLTV file (.xml or .xml.gz) on the internet the panel reads the programmes of many channels from. |
| Guide channel | A channel inside an EPG source, with its own id, e.g. MusterSport.de. |
| EPG channel ID (tvg-id) | The id of the guide channel that is set on one of your channels. The panel finds that channel's programme through it. |
| Priority | Decides which source wins when several sources know the same id. Lower wins. |
| Time offset | Shifts the programme of a source or of a single channel. |
| Logo library | About 11,000 channel logos your panel serves itself. |
The short version:
Add a source, map your channels, done. The apps then fetch the guide on their own.
2. The EPG page
Under Streams › EPG there are three cards at the top:
| Card | Meaning |
|---|---|
| Live channels with a guide | How many of your live channels have an EPG channel ID that an enabled source also knows. These channels show a programme in the apps. |
| Channels with an EPG id | How many channels have any id at all, including ids from the provider playlist that none of your sources knows. |
| Guide for players | The address apps load the guide from (/xmltv.php?username=…&password=…). |
If the first number is clearly smaller than the second, many channels carry an id there is no programme for. Auto-map channels helps then (section 4).
Below are your sources with Priority, Data (how many channels and programmes the source delivered) and Status: when it was last fetched and how often ("every 12 h"), Importing… while it is fetched, Not fetched yet, or the error message in red.
A source's menu (three dots) has Import now, Edit and Delete.
3. Adding an EPG source
The example: your channels are German channels and you want to use the free German guide.
- Open Streams › EPG and click Add EPG source.
- Under Free guide, pick the country, here "epgshare01 · Deutschland". That fills in the XMLTV URL and, if the field is empty, the Name. If you have a paid guide, enter its URL instead; credentials in the URL are fine.
- Leave Priority at 100 and Refresh every at 12 hours.
- Save.
The first import starts right away in the background. After a short while the row shows under Data how many channels and programmes the source has.
The fields at a glance:
| Field | Effect |
|---|---|
| Free guide | Ready-made XMLTV files for 20 countries, updated daily. Only shown when you add a source. |
| Name | Just for you, up to 100 characters. |
| XMLTV URL | Address of the file, http:// or https://, plain or gzip. |
| Priority | 0 to 1000, default 100. Lower wins (section 3.1). |
| Refresh every | 1 to 168 hours, default 12. |
| Time offset | Shifts every listing of this source, e.g. when the guide is in the wrong time zone. Applies immediately, without a new import. |
| Enabled | Off = the source is no longer imported and no longer used for programmes. |
Good to know:
- The panel keeps programmes from 7 days back to 8 days ahead. The apps get 12 hours back to 7 days ahead of that.
- If you change the XMLTV URL of an existing source, the panel only fetches the new file at the next scheduled refresh. To get it now, choose Import now.
- If an import fails, the panel only tries again after the set interval. The dashboard then reports "EPG source … could not be imported".
- To refresh all sources at once, use Update EPG now under Maintenance › Tools.
Delete removes the source's listings. Your channels keep their EPG channel ID and use another source if one knows it.
3.1 Several sources and the priority
You can add as many sources as you like, e.g. a paid guide with priority 1 and the free one with 100. When several sources know the same EPG channel ID, the whole programme of that channel comes from the source with the lowest number. The programmes of two sources are not mixed.
3.2 Taking the guide from the playlist
If a provider's playlist names a TV guide itself, the Import M3U wizard offers Add as EPG source (chapter M3U import & providers). The new source is called "Playlist guide · …" and gets the defaults (priority 100, every 12 h).
4. Mapping channels
A channel shows a programme when its EPG channel ID matches a guide channel of an enabled source. The id gets into the channel in three ways.
4.1 Automatically for new channels
Under Settings › General there is Link new channels to the guide automatically (default: on). After every EPG import and every channel import, channels without an id get a matching one by name and country. This setting never changes existing ids.
4.2 Many channels at once: Auto-map channels
Provider playlists often bring their own ids, and some of them are wrong. For that, the EPG page has Auto-map channels:
Click Auto-map channels.
Click Preview. Nothing changes yet.
The panel shows four numbers:
Number Meaning New Channels that get an id. Corrected (wrong id) Channels whose current id is replaced by a better match. Already correct Stay as they are. No match No matching guide channel found. Below you see examples: channel, old id (struck through), new id and source.
If the preview looks right, click Apply {n} changes.
How the panel matches:
- It takes the country prefix from the channel name ("DE:" or "DE |") and the country from the guide id (
MusterSport.de→ de). - It compares names ignoring case, accents, special characters and quality tags such as HD, FHD, SD or RAW. So "DE: Muster Sport 1 HD" matches "Muster Sport 1" in the German guide.
- UHD and 4K channels stay separate from the HD version.
- If several sources know the channel, the one with the lowest priority wins.
Caution: When the panel finds a name match, it also replaces an id you entered yourself. So check the examples in the preview before you apply. Channels without a name match keep their id.
Mapping does not change the channels' time offset.
4.3 One by one in the channel editor
In the channel editor under EPG (card Guide channel):
- Search guide channels… is already filled with the channel name without country prefix and quality tag. The list shows matching guide channels from your enabled sources with id and source.
- Click the right entry. Its id is now in EPG channel ID. You can also type it by hand; Remove clears the field.
- The Programme card shows the next programmes, the current one with Now. If it says No listings, no active source has programmes for this id in the next 48 hours.
- Save.
Time offset shifts the programme of this channel only, e.g. by +1:00 h for a +1 channel that uses the original's programme. It adds to the source's time offset. You can choose −12 h to +12 h, between −2 h and +2 h in steps of 15 minutes. To shift many channels at once, use the bulk action Time offset in the channel list.
Manage EPG takes you back to the EPG page.
4.4 Finding channels without EPG
In the channel list under Streams › Live Streams, the problem filter No EPG shows all channels without an EPG channel ID. The EPG column (switch it on under Columns) shows a tick when an id is set.
Note: both only check that an id is set, not whether a source knows it. How many channels really have a programme is shown by the card Live channels with a guide on the EPG page.
4.5 Custom channels
Custom 24/7 channels (Streams › Custom Channels) need no mapping: their programme is created automatically from their schedule. Auto-map channels and Assign logos leave them alone.
5. What the apps get
- Every M3U playlist links the guide in its header (
url-tvg). Apps with an Xtream Codes login load it automatically throughxmltv.php. - Each line only gets the programme of its own live channels, i.e. the channels in its bouquets, and only for channels that have programmes.
- Name and logo in the guide come from your channel, not from the EPG source.
6. Logos
6.1 The logo library
Under Settings › Logos there is the card Logo library. The logos come from the free collection github.com/tv-logo/tv-logos. Your panel downloads each logo the first time it is used and then serves it from your own domain. So the apps of your customers and resellers do not load it from GitHub.
| Display / button | Meaning |
|---|---|
| Logos in the library | How many logos the list knows. |
| Stored on this server | How many of them are downloaded already and how much space they take. |
| Update list | Fetches the current list of the collection. This does not happen automatically. |
| Download all (≈210 MB) | Downloads all logos in advance, in the background. You don't need to. |
6.2 A logo for one channel
In the channel editor under Logo & display:
- Click Choose from logo library.
- At the top are up to 12 Suggestions for "…" that fit the channel name. If none fits, search under Search logos… and narrow it down by country (All countries).
- Click a logo, then Save.
Logo URL then holds an address starting with /logos/, with Hosted by your panel. below it. You can also enter any other image address instead. The panel passes such outside addresses to the apps unchanged. If that server is down, the logo is missing.
You can't upload channel logos. You pick them from the library or enter an address.
6.3 Logos for many channels: Assign logos
At the top of the Streams › Live Streams page:
Click Assign logos.
Choose the mode:
Mode Effect Only missing (default) Only channels without a logo get one. Replace all Channels with an outside logo address (from the provider playlist or entered by hand) also get the library logo when there is a match. The preview shows how many channels get a logo, with some examples.
Click Assign {n} logos.
Good to know:
- Logos that already come from the library (
/logos/…) are not replaced in either mode. - If a channel links a logo straight on GitHub, the panel switches it to the copy in your panel, in both modes.
- Matching uses name and country. The country comes from the channel's country prefix or, if the name has none, from the prefix of its category (e.g. "DE | Sport").
7. Who may do what?
EPG and logos belong to the Channels area. With read access you see everything; changing things needs write access. Settings › Logos and the setting Link new channels to the guide automatically are part of Settings. Resellers don't see the EPG page.
8. Frequently asked questions
A channel shows no programme in the app. Open the channel and look under EPG: if Programme says "No listings", no active source knows the id. Search for the right entry under Search guide channels…. Apps usually reload the guide only a few times a day, so the change can take a while to show up there.
The programme is one hour off. If the whole source is off, set a Time offset on the source. If only one channel is affected (e.g. a +1 channel), set it on the channel.
A source shows an error message. Check the XMLTV URL, e.g. whether your access at the guide provider is still valid, and then click Import now.
"Auto-map channels" doesn't find a channel. Mapping needs a name similar to the one in the guide, ideally with a country prefix ("DE: …"). Rename the channel or pick the guide channel by hand in the channel editor.
I entered an id by hand. Will auto-mapping change it? The setting for new channels won't. Auto-map channels replaces it when there is a name match. Check the preview before you apply.
Do I have to press "Download all"? No. Each logo is stored the first time it is requested. Downloading in advance only saves the short wait the first time.