We run Best IPTV Player, a catalog that tells people which IPTV player apps their devices can run. Players only: no channels, no playlists, no content subscriptions. Every claim on the site needs a publisher source and a check date, and anything we cannot source stays unknown.
On 25 November 2026 we rewrote our mpv page. The interesting part for developers is that mpv has no IPTV interface at all, yet its manual documents everything you need to treat a playlist as data you control from a script. This post collects those documented pieces in one place. We did not benchmark or "test" mpv for it; every command below is quoted or paraphrased from the stable manual, and the paths and addresses are placeholders.
1. The two ways to hand mpv a playlist
The synopsis is mpv [options] [file|URL|PLAYLIST|-], so a playlist is just another argument:
mpv /path/to/your-playlist.m3u --playlist-start=5 --playlist-start is zero-based. The manual adds that this works "as long as playlist.m3u does not link to further playlists".
The second form is --playlist=<filename>. The difference is timing: lists passed with --playlist are expanded at startup, while playlist files passed as arguments are expanded only when that entry is reached. The option "supports some common formats", falls back to one entry per line, and does not support XML playlist formats.
Network addresses need an explicit scheme. From the Protocols section: "the protocol prefix must always be specified. mpv will never attempt to guess whether a filename is actually a network address."
2. Keep options in mpv.conf, group them in profiles
The user config file is ~/.config/mpv/mpv.conf (see the manual's FILES section for Windows paths). The syntax is option=value, # starts a comment, and command-line options override the file. A profile is a block that starts with a name in square brackets:
# ~/.config/mpv/mpv.conf [playlist-session] profile-desc=Options for long playlist sessions playlist-start=0 Run it with mpv --profile=playlist-session /path/to/your-playlist.m3u, and list what you have defined with mpv --profile=help. The manual also documents profile-cond for profiles that apply automatically when a Lua expression is true, with a clear warning: "This Lua code execution is not sandboxed."
3. Control a running player over JSON IPC
Start mpv with a socket, and --idle so it waits instead of exiting when nothing is queued:
mpv --idle=yes --input-ipc-server=/tmp/mpvsocket The manual's own example uses socat to send JSON commands and read replies:
echo '{ "command": ["get_property", "playback-time"] }' | socat - /tmp/mpvsocket From there, the documented playlist commands and properties are enough to build a small controller:
# load (replace) or append a playlist echo '{ "command": ["loadlist", "/path/to/your-playlist.m3u", "replace"] }' | socat - /tmp/mpvsocket echo '{ "command": ["loadlist", "/path/to/another.m3u", "append"] }' | socat - /tmp/mpvsocket # inspect it echo '{ "command": ["get_property", "playlist-count"] }' | socat - /tmp/mpvsocket echo '{ "command": ["get_property", "playlist-pos"] }' | socat - /tmp/mpvsocket echo '{ "command": ["get_property", "playlist/0/filename"] }' | socat - /tmp/mpvsocket # move around echo '{ "command": ["playlist-next"] }' | socat - /tmp/mpvsocket echo '{ "command": ["set_property", "playlist-pos", 3] }' | socat - /tmp/mpvsocket loadlist <url> [<flags> [<index>]] accepts replace (the default), append, insert-next and insert-at. playlist-pos is read-write and zero-based; playlist-count is the total number of entries. Two cautions the manual states plainly: the IPC protocol "is not 'secure' and not intended to be so", so keep the socket local; and by default mpv refuses URLs from playlists it considers unsafe. --load-unsafe-playlists disables that check and should only be used for a playlist you trust.
4. What is deliberately missing
The documentation describes a player, not an IPTV front end. We found no mention of EPG/XMLTV or Xtream Codes in the stable manual, and the homepage says mpv "provides no real GUI" beyond a small on-screen controller. If you need a guide and a provider login form, that is a different kind of app; our player selector filters players by what their publishers state, device by device.
Facts, with sources (checked 25 November 2026)
- Licence: GPLv2 or later by default, LGPLv2.1 or later with
-Dgpl=false(Copyright). - Platforms: Windows, macOS and Linux on the installation page, mostly unofficial third-party builds; Android via the separate mpv-android project.
- Latest release on GitHub: v0.42.0, 5 November 2026.
The full fact sheet, a comparison with VLC, Hypnotix and IPTVnator, and an FAQ are on our mpv IPTV player page.


