The short answer
They're three ways to read the same subscription. An M3U playlist is a list of stream links; an Xtream Codes login (server, username, password) lets the player ask the provider for channels, films, series, catch-up and account details directly; a Stalker portal is for MAG boxes. Use Xtream Codes if you have it, an M3U link if not.
Three doors into the same subscription
A provider's welcome email often lists an M3U link, an Xtream Codes login and sometimes a portal address, one after another. They usually aren't three subscriptions. They're three ways for different players to read the same list of channels from the same servers, and the streams they lead to are the same.
What changes is how much the player learns about each channel, and whether the list keeps itself up to date.
M3U playlists
An M3U playlist is a plain text file. Each channel is two lines: one describing it (its name, logo, group and guide id) and one with the address of its stream. A line from a typical playlist looks like this:
#EXTINF:-1 tvg-id="news.example" tvg-logo="https://…/logo.png" group-title="News",Example Newshttp://provider.example:8080/live/user/pass/1234.ts
M3U8 is the same thing saved as UTF-8 text, so names in any language survive. (Confusingly, the streams themselves often use .m3u8 files too: those are HLS playlists for a single video, not a channel list.)
- A link is fetched again when the player refreshes, so channels the provider adds turn up by themselves.
- A file is a snapshot. It stays as it was until you replace it, which is handy for a list you've edited by hand and a nuisance for everything else.
Films and series can be in a playlist too, but only as more lines: a player has to work out from the addresses and names which entries are films and which are episodes of the same show. The header line can name a TV guide (url-tvg="…"), and channels can carry catch-up details if the provider added them.
Xtream Codes logins
Xtream Codes is the name of the panel software many providers run, and its login is three things: a server address (with its port, like http://provider.example:8080), a username and a password.
Instead of reading one long file, the player asks the server for each part separately, which gets it more:
- live channels, films and series in their own categories, with seasons and episodes already sorted;
- which channels have catch-up, and for how many days;
- the account itself: when it expires, how many connections it allows and how many are in use;
- a list that's always current, because nothing is downloaded ahead.
A tip: if your M3U link looks like http://server:port/get.php?username=…&password=…, it comes from an Xtream Codes server. The part before /get.php is the server address, and the username and password are in the link. You can type them in as an Xtream Codes login instead.
Stalker portals
Stalker (or Ministra) portals were made for MAG set-top boxes. The login is a portal address, which often ends in /c/, and the MAC address of the box the provider set the subscription up for. A player that supports portals introduces itself to the portal as that box.
Portals give the same sorted channels, films and series as Xtream Codes, plus their own guide and catch-up. They're mostly worth using when a portal is all the provider offers. Use only the MAC address your provider registered for you.
Which one to use
| What | M3U link | M3U file | Xtream Codes | Stalker portal |
|---|---|---|---|---|
| Keeps itself up to date | Yes | No | Yes | Yes |
| Films and series sorted | Worked out from the list | Worked out from the list | Yes | Yes |
| Catch-up | If the provider added it | If the provider added it | Yes, per channel | Yes |
| Shows expiry and connections | No | No | Yes | Expiry, where the portal says |
Pick Xtream Codes when the provider offers it: it's the most complete and the quickest to keep current. Use an M3U link when that's all there is, or when you've been given a filtered playlist. Use a file only for a list you made or edited yourself. Use the portal when the subscription was sold for a MAG box and nothing else was given.
Read next
How to add an M3U playlist or Xtream Codes login
Step by step: adding an M3U link, an M3U file, an Xtream Codes login or a Stalker portal to Tuna TV, adding a TV guide, and what to check when it doesn't load.
Xtream Codes player
Sign in with the Xtream Codes server, username and password your provider gave you. Tuna TV lays out live TV, films and series with a guide, catch-up and artwork, on every screen. No content included.
M3U player
Open an M3U or M3U8 playlist from a link or a file and get a real TV guide, catch-up, live rewind and favorites, on the web, Windows, Mac, Linux and Android TV. Tuna TV includes no playlists or channels.
How to get a TV guide (EPG) for your IPTV channels
What an EPG or XMLTV guide is, where it comes from, why some channels show “No information”, and how to fill the gaps with free guides and matching.