What is a Xtream Codes login, an M3U playlist, and an EPG guide?

Bottom line: An M3U playlist is a plain text list of stream addresses; an M3U URL is a web address that generates that list live. A Xtream Codes login is the same underlying account given as four separate pieces instead: a host, a username, a password, and a port. EPG is the program guide data, delivered through a separate XMLTV URL. Same account, different shapes.

This is the single explainer every device guide on this site points back to. Whether your account arrived as a Xtream Codes IPTV login or an M3U URL, the pieces mean the same thing underneath. If you already have your details and just need to enter them into an app, our guides for TiviMate, SET IPTV, LG Smart TVs, and Samsung Smart TVs show where each field goes. This page covers what the fields mean, so a wrong value is obvious before you contact support.

Contents

What is an M3U playlist?

An M3U playlist is a plain text file, not a video file itself. It is a simple index: a header line, then one entry per stream, each with a short display name and the address the player should open. The format started decades ago listing audio tracks for early desktop music players, and it was reused for video because a list of names paired with addresses works for streams just as well as for songs. The file carries no video; it only points at where the video lives. A player app reads the list, shows the names as a channel menu, and only fetches video once a channel is selected. Because the file is plain text, it can be opened in any text editor, a useful way to check a playlist that will not load. See our what is IPTV guide for how the player and the playlist fit together.

What is an M3U URL, and why can it change or expire?

Most IPTV accounts do not hand over a static file to save. Instead they hand over an M3U URL, a web address that generates the list fresh, on demand, each time the player app asks for it. Opening that URL in a browser downloads or displays the same plain text list described above; a player app does the same thing automatically. Because the list is generated live rather than saved once, it can change: a provider can add or remove channels and the same URL returns an updated list next time it loads, with no re-entry needed. It can also stop working if the account is renewed onto a different server, the plan changes, or the URL embedded a token meant for limited uses rather than indefinite reuse. A URL that worked yesterday and returns nothing today is usually one of those causes, not a broken player app.

What is a Xtream Codes login, and what do the host and port mean?

A Xtream Codes login describes the same kind of account as an M3U URL, written as four separate pieces instead of one combined address. The host, sometimes labeled server or server URL, is the server address the app should talk to, written with the transfer method in front, http or https, followed by the address itself. The port is a number telling the server which door to answer on. Some apps show it as part of the host field, after a colon; others give it its own box, and entering it in both at once is a common way to duplicate it.

What do the username and password mean in a Xtream login?

The username and password are a matched pair that identifies your account on the server, separate from any email address or order number from signup. An app that supports Xtream Codes logins natively, rather than only accepting a playlist URL, uses these fields directly to fetch channels, on-demand titles, and account status in a more structured way than a plain playlist file allows. That is also why some apps offer both methods and ask you to pick one.

Why can the same account be given as an M3U URL or a Xtream login?

Both formats point at the same account on the same server; a provider is not maintaining two separate products. A Xtream-compatible server can answer two kinds of requests: one that returns a single combined playlist address, used by apps that only accept an M3U link, and one that accepts the four fields directly, used by apps built around Xtream Codes accounts. The account, the channels it can see, and its expiration date do not change based on the format, only which player app the provider assumes you use.

Which one should you use, a Xtream login or a fixed M3U URL?

A Xtream login is generally the safer choice when your app supports both, because renewing an existing subscription tends to keep the same username and password even when other details change, such as which server answers the request. A saved M3U URL, by contrast, bakes the server address, username, and password into one string; if any one changes, the whole link stops working and has to be replaced. If your app only accepts one format, use whichever you were given, since the difference mainly matters when you have a choice. Our TiviMate and SET IPTV guides show where each format goes.

What is EPG, and what is an XMLTV URL?

EPG stands for electronic program guide, the schedule grid showing what is airing now and next on each channel, the same idea as a printed TV guide from years ago. It is delivered separately from the channel list, through its own address called an XMLTV URL, named after the open format the data is written in. A player app fetches that address on its own schedule, reads the data, and lines it up against the channel list you already have. Because the guide and the channel list come from two sources fetched at different times, it is normal for one screen to show channels correctly while the guide grid is briefly blank, not a sign that something is broken.

Why is the guide sometimes in the wrong time zone?

An XMLTV feed writes each program’s start and end time with a specific time zone offset attached, not as a plain local time on its own. A player app is supposed to read that offset and convert it to whichever time zone your device is set to, the same way a calendar app converts a meeting time across time zones automatically. When the guide looks shifted by a fixed number of hours, the usual cause is a mismatch between the device’s time zone setting and the one the app assumed, not an error in the schedule data. Checking the device’s date and time zone setting, not just the app’s own settings, resolves this in most cases.

Why does the guide lag behind the channel list?

The channel list and the guide data are collected differently and refreshed on different schedules. A newly added channel can appear on the channel list immediately, since that only requires the server to add one entry. Guide data for that channel is usually pulled from a separate schedule source on a periodic cycle, often once or twice a day, and a new channel must be matched into that source before any schedule shows up. This is why a freshly added channel often plays perfectly while showing no program information, or outdated information, for a while, a normal lag between two systems on their own timetables, not a fault in the channel itself.

What does each field actually look like?

The values below use example.com, a domain set aside for documentation and never assigned to a real service. Compare the shape of each field against what you were given, not the exact characters shown here.

FieldWhere you enter itExample valueWhat it should never contain
M3U URLA single “playlist URL” or “M3U URL” fieldhttp://example.com:8080/get.php?username=demo123&password=demoPass1&type=m3u_plusA separate username or password, or a trailing space
Host / server URLThe “host” or “server URL” field in a Xtream loginhttp://example.com:8080The username or password appended to it
PortA separate “port” field, if the app has one8080Letters, or the full host address again
UsernameA separate “username” fielddemo123A full URL, an @ symbol, or a line break
PasswordA separate “password” fielddemoPass1Extra spaces before or after it
EPG / XMLTV URLAn “EPG URL” or “guide URL” field, usually optional at setuphttp://example.com:8080/xmltv.php?username=demo123&password=demoPass1The M3U URL pasted in by mistake

What goes wrong when these details are entered?

Most setup failures trace back to a small number of entry mistakes, not a broken account. Work through this list before assuming the subscription is at fault:

  1. A trailing space copied with the username or password from a text message; many devices do not display it, so the field looks correct while still being wrong.
  2. A line break copied mid-URL, which some messaging apps insert when a long link wraps, splitting one address into two broken pieces.
  3. http entered where https was required, or the reverse; the two are not interchangeable.
  4. The wrong port, left at an app’s default or copied from an unrelated example rather than the one issued with the account.
  5. A full M3U URL pasted into a username field, or a username pasted into the address field, which looks like a broken account rather than a mismatched field.
  6. Capitalization changed by autocorrect on a phone keyboard, since these fields are generally case-sensitive.
  7. An EPG URL left pointing at a previous account after a renewal, since a new XMLTV address does not always match the old one.
  8. If a value still will not load, message support on WhatsApp with a screenshot of the field, so a real person can check the exact characters with you.

Frequently asked questions

Is a Xtream Codes login the same as Xtream Codes software? Not exactly. Xtream Codes was originally a specific server panel; the login format it introduced, host, username, password, and port, is now a general standard used by many providers regardless of the software behind them.

Can I convert an M3U URL into a Xtream login myself? Only if the provider issued both. The four fields cannot be reliably extracted from a plain M3U URL, since its structure varies by provider; ask your provider directly instead.

Does the port number matter if the app works without entering one? Yes, even when an app fills in a default automatically. If your provider issued a specific port and the app silently uses a different one, the connection can fail unrelated to the port.

Why does my EPG show the wrong day, not just the wrong hour? A time zone mismatch crossing midnight can shift a program into the next or previous day, the same cause described above, just large enough to cross a day.

Do I need to re-enter my M3U URL every time I restart the app? No. A player app saves the URL or login once entered; re-enter it only if the app is reinstalled, its data is cleared, or the account details change.

Is it safe to open an M3U URL in a regular web browser? Yes. It displays or downloads the same plain text list a player app reads, a useful way to confirm the address is correct before assuming the app is broken.

Why does one device show more channels than another on the same account? Usually one device holds an older cached copy of the list, not two devices on different accounts; reloading or reinstalling the app on the device with fewer channels usually resolves it.

Entering these fields into a specific app is mechanical once they make sense. Our guides for TiviMate, SET IPTV, LG Smart TVs, and Samsung Smart TVs show where each value goes. Our tutorials page lists every supported app, our FAQ page covers other questions, and our pricing page lists plan lengths.