Skip to the guide

M3U, Xtream Codes or a Stalker portal: which should you use?

Most providers offer more than one way to sign in to the same subscription. They lead to the same streams, but they don't give a player the same things.

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 News
http://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 each kind of login gets a player
WhatM3U linkM3U fileXtream CodesStalker portal
Keeps itself up to dateYesNoYesYes
Films and series sortedWorked out from the listWorked out from the listYesYes
Catch-upIf the provider added itIf the provider added itYes, per channelYes
Shows expiry and connectionsNoNoYesExpiry, 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

Try it with your own playlist

Make an account, add your provider, and everything in this guide is on every screen you own.

No card and nothing to pay until plans open. Then you pick one to keep watching.