Blog · By Youn, EPG Full · 18 November 2026
tvg-id explained: how IPTV players match the EPG to your channels
What tvg-id, tvg-name, tvg-logo and url-tvg mean in an M3U playlist, how players use them to find a channel's programmes, and why matching fails.
tvg-id is an attribute in an M3U playlist line that holds the id of the channel in the EPG. When it equals a channel id in the XMLTV file, the player shows that channel's programmes. Without a matching tvg-id, players fall back to comparing names, which often fails on decorated IPTV channel names.
When a guide loads but your channels stay empty, the problem is almost always matching: the player cannot tell which guide channel belongs to which playlist channel. The key to that matching is a small attribute in your playlist called tvg-id. This article explains what it is, the attributes around it, and what to do when matching fails.
A playlist line, piece by piece
An M3U playlist lists your channels. Each channel takes two lines: a description line starting with #EXTINF, then the stream address.
#EXTM3U url-tvg="https://example.com/epg.xml.gz" #EXTINF:-1 tvg-id="BBCOne.uk" tvg-name="UK: BBC ONE HD" tvg-logo="https://example.com/bbc1.png" group-title="UK",UK: BBC ONE HD http://provider.example/live/user/pass/12345.ts
- tvg-id: the id of this channel in the guide. If it equals a channel id in the XMLTV file, the player uses that channel's programmes.
- tvg-name: a name for matching, used by some players when the id is missing.
- tvg-logo: the logo of the channel in the playlist.
- group-title: the category the channel appears in.
- The text after the comma is the display name you see in the player.
- url-tvg (or x-tvg-url) on the first line: the guide this playlist suggests. Some players load it automatically.
How players match, in order
- tvg-id: if the playlist has an id and the guide has a channel with exactly that id, it is a match. Exact means exact: "BBCOne.uk" and "bbcone.uk" may not match in every player.
- Name: without a usable id, the player compares names (tvg-name or the display name) with the guide's display names. How tolerant this is depends on the player: some ignore case and "HD", most do not ignore country prefixes like "UK:" or decorations like "ᴴᴰ".
- Manual link: many players let you link a channel to a guide channel by hand. This is saved per channel, on that device only.
Why matching fails
The playlist has no tvg-id, or an empty one
Many providers leave tvg-id empty or fill it with their own internal numbers. Then only name matching is left.
The ids come from a different guide
A tvg-id only works with the guide it was written for. If your playlist's ids follow one naming scheme ("BBCOne.uk") and your guide uses another ("bbc-one", "I123.45678"), nothing matches, even though both describe the same channel.
Decorated names
IPTV playlists often decorate names: "UK: BBC ONE ᴴᴰ", "|UK| BBC ONE FHD", "BBC ONE (BACKUP)". A generic guide calls the channel "BBC One". To a strict player, these are different names.
The same name in several countries
"Eurosport 1", "Canal+ Sport" or "Fox" exist in many countries with different schedules. Name matching without the country can pick the wrong one, which looks like "wrong programmes" rather than "no programmes".
Fixes, from quick to complete
- Map channels by hand for the few you watch most. Free, but slow, and lost when you reinstall or change device.
- Edit the playlist with a playlist editor and set tvg-ids that match your guide. Works everywhere, but needs redoing whenever the provider changes the list.
- Use a guide built for your playlist: when the guide's ids and names are taken from your provider's own channel list, every channel matches by itself in every player. This is what EPG Full does, rebuilt every hour so new and renamed channels keep matching.
What about logos?
There are two logo sources: tvg-logo in the playlist and the icon in the guide. Players differ in which one they prefer, and many have a setting such as "use logos from EPG". If a channel has a logo in the guide but not on screen, look for that option.
Frequently asked questions
Can I write tvg-id myself?
Yes, if you host your own copy of the playlist. But your provider's link usually regenerates the playlist, so your changes are lost on the next refresh.
Is tvg-id case-sensitive?
In many players, yes. Treat ids as exact strings.
My playlist is an Xtream login, not an M3U. Does this still apply?
Yes. Xtream logins deliver the same information (an EPG channel id per stream); the player uses it the same way.
A guide that matches your provider
EPG Full builds the guide from your IPTV provider's own channel list every hour, with logos. Try it free for 2 days.
Start the free trialMore articles
- What is an XMLTV EPG? A plain guide for IPTV users
- Why EPG times are wrong in your IPTV player (and how to fix them)
- Big EPG files on a slow TV box: how to keep the guide fast
- Why some IPTV channels never show programmes
- TiviMate EPG not working? Fix "No information" and empty guides
- Free IPTV EPG vs a guide matched to your provider
- Sports, PPV and event channels in your IPTV guide