Both M3U and Xtream Codes are ways to connect to your IPTV provider, but they work differently. Here's when to use each.
M3U Playlists
An M3U file is simply a text file containing a list of stream URLs. Each line contains a channel name and its stream address.
Pros: - Universal — works with every IPTV player - Simple — just a URL or file - No server-side API needed
Cons: - No EPG integration (must be added separately) - No VOD/Series organization - Large files can be slow to parse - No authentication beyond the URL itself
Xtream Codes API
Xtream Codes is a REST API that your IPTV provider runs on their server. It provides structured access to channels, VOD, series, and EPG.
Pros: - Full EPG (program guide) included - Organized VOD and Series with categories - Faster sync — only downloads what's needed - Username/password authentication - Server-side features (catch-up, recording)
Cons: - Not all providers support it - Requires the provider to run Xtream Codes panel
Which Should You Use?
| Scenario | Recommendation |
|---|---|
| Provider gave you a .m3u or .m3u8 URL | **M3U** |
| You want EPG and series tracking | **Xtream Codes** |
| You have a personal media server | **M3U or WebDAV** |
| Provider supports both | **Xtream Codes** (better experience) |
In MyIPTV
MyIPTV supports both formats equally well. With Xtream Codes, you get the richest experience — full EPG, series tracking, and automatic content organization. With M3U, you still get channel playback with our dual-engine player (AVPlayer + VLC) for maximum compatibility.