How to add an M3U playlist to an IPTV player (link or file)
Got an M3U or M3U8 link, or a .m3u file? Here’s how to add it, how to get the TV guide working with it, and how to fix the usual problems: links that don’t load, huge lists and channels without logos or guide data.
這篇文章尚未翻譯,因此以英文顯示。
M3U is the oldest and simplest IPTV format: a text file with a list of channels, each with a name, an optional logo and group, and a stream address. Providers send it as a link (often ending in .m3u, .m3u8 or containing type=m3u) or as a file to download. Every player understands it. This guide shows how to add one in Koala and what to check when something’s off.
Link or file: which should you use?
- A link (URL) points to your provider’s server. Koala downloads it when you add it and refreshes it regularly, so new channels show up by themselves. It also syncs to your other devices with Premium.
- A file is a copy of the list at the moment you downloaded it. It never updates by itself and stays on the device you imported it on (it’s too large to sync). Use a file only if your provider doesn’t offer a link, or for a small personal list.
Add an M3U link
- Open Koala and tap Add your playlist (or Settings → Playlists → Add playlist).
- Choose M3U playlist.
- Paste the full link in Playlist URL. Include everything, also the part after the question mark.
- If your provider gave a separate guide link, paste it in EPG / XMLTV URL.
- Give the playlist a name and tap Save. Big lists can take a minute the first time; after that Koala opens from its local copy straight away.
Does your link contain username= and password= (for example …/get.php?username=…&password=…&type=m3u_plus)? Then it’s an Xtream Codes login in disguise. Koala recognises this and uses the Xtream connection behind it, which gives you organised movies and series, the guide and catch-up. See M3U vs Xtream Codes.
Import an M3U file
- Save the file somewhere you can reach: Files on iPhone and iPad (iCloud Drive or On My iPhone), or a folder on your Mac.
- In Koala choose Add your playlist → M3U playlist → Import .m3u file… and pick the file.
- Add a guide link in EPG / XMLTV URL if the file doesn’t name one.
- Save. To update the list later, import the new file again.
Apple TV has no Files app, so you can’t import a file there. Use a link, or import on iPhone, iPad or Mac.
Getting the TV guide to work
The guide for an M3U playlist comes from an XMLTV file. Many playlists name it in their first line (url-tvg or x-tvg-url), and Koala picks it up automatically. If the guide stays empty, ask your provider for the EPG link and paste it in the playlist settings. Channels are matched to the guide by their tvg-id, or by name if there’s no id; channels whose ids don’t match the guide stay empty. More in adding an EPG and EPG shows wrong times.
What Koala reads from an M3U
- Name, logo and group (tvg-name, tvg-logo, group-title), so channels appear in the right category with their logo.
- Channel numbers (tvg-chno), for typing a number on the remote.
- Catch-up information (catchup, catchup-days, catchup-source), so programmes from the past can be played where your provider supports it. See catch-up TV.
- Request headers set in the playlist (#EXTVLCOPT lines or |User-Agent= after a link), which some servers require.
Common problems
- “Couldn’t load playlist”: open the link in Safari. If it downloads or shows text starting with #EXTM3U, the link works and the problem may be temporary. If you get an error page, the link or subscription has a problem: contact your provider.
- “This playlist has an invalid address”: check that the link starts with http:// or https:// and has no spaces or line breaks from copying.
- The list is huge and slow: Koala handles tens of thousands of channels, but the first download takes time. Ask your provider whether they offer an Xtream Codes login, which loads only what you open.
- Some channels won’t play: Koala switches to its VLC engine for formats Apple’s player can’t handle. If a channel still fails, your provider may limit simultaneous streams, or the channel is down. See fixing buffering.
- Your provider requires a specific player identity: enter it in Custom User-Agent in the playlist’s settings.
常見問題
延伸閱讀
M3U 與 Xtream Codes 比較
該用 M3U 播放清單還是 Xtream Codes 登入?比較速度、節目表、電影、影集和回看的差異,以及在 IPTV 播放器中該選哪一個。
閱讀教學新增 EPG 節目表
EPG 是什麼、XMLTV 連結從哪裡來、頻道如何對應,以及節目表空白或時間不對時該怎麼解決。
閱讀教學Xtream Codes login errors
Invalid login, no connection or an empty list with Xtream Codes? Check the server URL, port, http/https and account status, step by step.
閱讀教學IPTV on iPhone and iPad
Watch your own IPTV playlist on iPhone and iPad: install a player, add Xtream Codes, M3U or MAG, set up the TV guide and use PiP and AirPlay.
閱讀教學
輕鬆自在的 IPTV 播放器,適用於 iPhone、iPad、Mac 和 Apple TV。
Koala 是一款播放器,不含任何頻道或內容:你使用的是自己供應商提供的播放清單。