How to Use Xtream Codes with Kodi (IPTV Simple Client Setup)

How to Use Xtream Codes with Kodi (IPTV Simple Client Setup)

How to set up Xtream Codes in Kodi using the PVR IPTV Simple Client — add your M3U playlist URL, configure EPG, and enable channels on any platform.

Intermediate 2 min read · updated Alex Carter

Kodi is a full media center with a plugin system, and Xtream Codes support comes through IPTV client add-ons rather than a built-in login. The most reliable option is the official PVR IPTV Simple Client, which turns Xtream Codes playlists into a live TV and guide experience inside Kodi.

What you need before you start

  • Kodi installed on your device (Windows, Linux, Android TV, or another supported platform).
  • The PVR IPTV Simple Client add-on.
  • Your provider’s playlist URL (a get.php link) and EPG URL (an xmltv.php link).

Install an IPTV client

  1. Open Kodi and go to SettingsAdd-onsInstall from repository.
  2. Under PVR clients, install PVR IPTV Simple Client.
  3. Enable the PVR manager when prompted.

Only install add-ons from the official Kodi repository. Third-party “Xtream Codes” add-ons that ask for your credentials should be treated with suspicion.

Add your Xtream Codes playlist

The PVR IPTV Simple Client consumes an M3U playlist or an Xtream Codes API URL:

  • Option A — M3U URL: get the get.php playlist URL from your provider (see Xtream Codes M3U) and paste it into the add-on’s M3U Playlist URL field.
  • Option B — API URL: some providers support entering the Xtream Codes API URL directly. Both still rely on your host, username, and password embedded in the URL.

Open the add-on’s SettingsConfigure and set the playlist URL, then restart Kodi.

Your playlist URL is a credential

The playlist URL embeds your username and password. Anyone who sees it can use your account. Never paste it into forum posts, support chats, or third-party “checker” websites.

Set up the guide

  • In the add-on settings, set XMLTV URL to your provider’s xmltv.php URL (see Xtream Codes EPG).
  • Enable the PVR and guide, then restart Kodi to populate channels and program data.
  • If the guide shows “No information”, the tvg-id values in the playlist must match the EPG feed’s channel IDs — remap them in the add-on if the provider doesn’t align them.

Playback settings worth changing

  • Enable hardware acceleration: in SettingsPlayerVideo, turn on hardware acceleration for smoother playback.
  • Limit cache size: set a finite video cache to reduce memory use on weaker boxes.
  • Use the Inputstream Adaptive add-on for adaptive-stream playback where your provider serves HLS.

Common Kodi problems

  • Channels don’t appear after setup — restart Kodi after enabling the PVR; the add-on loads the playlist at startup.
  • Guide stays empty — confirm the XMLTV URL is set and the feed is reachable; remap tvg-id mismatches.
  • Streams stutter — enable hardware acceleration and limit the video cache.
  • Kodi won’t install a third-party add-on — avoid it; “Xtream Codes” add-ons from unofficial repos are a common credential-theft vector. The official PVR client is all you need.

Keep it safe

  • Use your own authorized account only.
  • Your Xtream Codes playlist URL embeds your username and password — treat it like a password. See Xtream Codes security.
  • Only install add-ons from the official Kodi repository.

Frequently asked questions

Does Kodi support Xtream Codes natively?

No. Core Kodi has no built-in Xtream Codes login. You add an IPTV client add-on — most commonly the official PVR IPTV Simple Client — and point it at your Xtream Codes playlist URL or API endpoint.

How do I add my Xtream Codes playlist to Kodi?

Use the PVR IPTV Simple Client add-on and set its M3U playlist URL to the get.php URL from your provider, or paste the full playlist URL into the add-on's settings. See the M3U guide for the URL format.

Which Kodi add-on should I use?

Start with the official PVR IPTV Simple Client from the Kodi repository. Third-party Xtream Codes add-ons exist, but only install add-ons from trusted repositories.

How do I get the EPG working in Kodi?

In the PVR IPTV Simple Client settings, set the XMLTV URL to your provider's xmltv.php URL and enable the guide. See the EPG guide for the URL format.

References

Written by

Alex Carter

Technical Writer & IPTV Technology Analyst

Alex Carter is a technical writer and streaming-technology analyst with over a decade of experience documenting IPTV infrastructure, media player software, and streaming protocols. Alex has worked hands-on with Xtream Codes, M3U, and EPG tooling across Fire TV, Android, and smart-TV platforms, and writes approachable guides that respect both the reader's time and the legal boundaries of streaming technology.

  • 10+ years documenting streaming and IPTV technologies
  • Practical experience with Xtream Codes, M3U, EPG, and player software
  • Focused on accurate, sourced, and privacy-respecting guidance
View 42 articles

Related guides

Search the knowledge base

Type to search articles, guides, and comparisons instantly.