M3U vs Xtream Codes: what's the difference?
IPTV providers usually hand out a subscription in one of two forms: an M3U playlist link, or an Xtream Codes login with a server, username and password. Many offer both. They lead to the same channels, but they work differently, and knowing how helps you pick the right one and fix problems faster.
Short answer: An M3U link is one address with your login built in; an Xtream Codes login is the same account as three fields: server, username and password. Both lead to the same channels. Xtream Codes is quicker to type with a TV remote; an M3U link is easier to paste or send from a phone. What each part of the link means: M3U link explained.
M3U: a list of channels
An M3U playlist is a plain text file. Each channel takes two lines: one with its name, logo, category and TV guide ID, and one with the address of the stream. A short example:
#EXTINF:-1 tvg-id="news.uk" tvg-logo="…/news.png" group-title="News",News 24http://example.com:8080/live/jsmith/secret/1001.ts
Providers give you either a link to that file (often ending in .m3u or .m3u8, or looking like …/get.php?username=…&password=…&type=m3u_plus) or the file itself. The difference matters:
- A link is fetched again from time to time, so new channels and changes from the provider reach your player by themselves.
- A file is a snapshot. When the provider changes something, you need a new file.
The first line of the file can also name a TV guide link (url-tvg), and channels can carry catch-up information, so a good M3U playlist brings the guide and the archive with it.
Xtream Codes: a login to the provider's panel
Xtream Codes is the name of a server panel many providers use. Instead of one long link, you get three things: the server address with its port (http://example.com:8080), a username and a password. The player signs in and asks the server for your channels, films and series.
An Xtream login and the provider's get.php link are two doors into the same account: the link is simply the login written as one address. That's why you can turn one into the other: the server is everything before /get.php, and the username and password follow username= and password=.
Side by side
- What you type
- M3U: one link, often 80 characters or more. Xtream: three short fields, easier with a remote.
- Updates
- Both stay up to date when you enter them in the player. A file you upload doesn't, and in Flumio on an LG TV neither does a playlist sent from the phone's QR page: the TV keeps a copy of it.
- Films and series
- Both include them when the subscription does. On Xtream servers, a player can also fetch each film's plot, cast and artwork from the panel.
- TV guide
- M3U: from the
url-tvglink in the file, if the provider includes it. Xtream servers also publish a guide at/xmltv.phpwith your login. - Security
- Both contain your password: the M3U link in its address, the Xtream login in its fields. Don't post either one in screenshots or forums.
Which one should you use?
If your provider offers both, either works, and in Flumio they end up as the same channel list: an Xtream login is turned into the provider's full playlist, with categories, logos and guide IDs. Pick whichever is easier to enter:
- Typing with a TV remote: Xtream Codes, because three short fields are quicker than one long link.
- Copying from an email on your phone: the M3U link, pasted into the phone app, or sent to the TV with the QR code (send it again when the provider changes the channel list).
- Only a file from the provider: upload it from the phone or computer, and ask the provider for a link so updates arrive by themselves.
Step-by-step guides
- How to add an M3U playlist on an LG TV
- How to set up Xtream Codes on an LG TV
- How to add an M3U playlist on an Android phone
Questions
Is M3U8 the same as M3U?
Yes, for playlists it's the same format saved as UTF-8 text, so names in any language display correctly. (Streams themselves also use .m3u8, for HLS video, which is a different thing your player handles for you.)
What is m3u_plus in my link?
It asks an Xtream server for the extended playlist, with categories, logos and TV guide IDs. Without it, some servers send bare channel names. Flumio adds it to get.php links that leave it out.
Can I open an M3U link in a browser to test it?
Yes. A working link downloads a text file that starts with #EXTM3U. A web page or an error instead means the link, the login or the subscription is the problem.
Is Xtream Codes a provider?
No. It's the panel software a provider runs. The channels and the subscription come from the provider you pay.