Everything OTT Player does

A player for your IPTV lists, on Android TV and smartphones. Here is a clear, example-driven look at what it reads, what it plays and how it works under the hood — from list parsing to the TV guide.

01Overview

Eight things to know about OTT Player.

📄

M3U / M3U8 lists

A tolerant parser: reads standard lists, lists with group dividers and lists with extended tags.

🔌

Xtream & MAG portals

Sign in with username and password (Xtream Codes) or the portal MAC (MAG / Stalker).

🔐

DRM & headers

ClearKey, Widevine, HTTP headers and cookies read straight from the list.

📺

Live TV + guide

Groups, search, timeline EPG, "on air now" and "up next".

🎬

Movies & series

On-demand catalogues from Xtream, MAG and also from M3U lists, with seasons and episodes.

🎚️

Advanced player

Quality, audio and subtitles in one menu, automatic language, technical stats.

🖥️

TV & smartphone

Interfaces built for the remote and for touch, with 9 themes and 77 languages.

📲

Send from phone

Typing URLs with a remote is painful: send them from this site with a code.

02Adding a list

Five ways to bring your content into the app. You can keep several lists and switch between them.

From URL

Paste the link to an M3U / M3U8 list. You can give it a custom name.

From file

Pick an .m3u or .m3u8 file from the device.

Xtream Codes

Server address, username and password: the app reads categories, channels, movies and series.

MAC / Stalker

Portal address and MAC: the app authenticates and loads the portal.

Remote send

The TV shows a code; from your phone or PC you send the list from this site.

Address examples

https://example.com/lista.m3u
https://example.com/stream/playlist.m3u8
http://provider.example:8080   Xtream: user / password
http://portal.example/c/       MAG / Stalker: 00:1A:79:xx:xx:xx

03How lists are read

The parser works out the list format on its own, extracts channels, groups, logos, guide and playback properties, and separates live, movies and series.

Your list .m3u · .m3u8 Detection inspects the content #EXTM3U · #EXTINF M3U standard + extended tags With dividers ----- NAME ----- Live TV Movies & series EPG sources
From the list to channels, movies, series and the TV guide.

What it recognises

Anatomy of an entry

Each channel is an information line followed by the stream address.

#EXTINF:-1 tvg-id="rai1.it" tvg-logo="https://…/rai1.png" group-title="News",Rai 1 HD https://example.com/live/rai1.m3u8 ID for the TV guide Channel logo Group / category Display name Stream address ←
An M3U entry: attributes, name and URL.

Example: standard list

The url-tvg attribute in the header points to the TV guide: the app adds it as an EPG source (XML, .gz and .xz).

#EXTM3U url-tvg="https://example.com/guide.xml.gz"
#EXTINF:-1 tvg-id="rai1.it" tvg-logo="https://example.com/rai1.png" group-title="News",Rai 1 HD
https://example.com/live/rai1.m3u8

Example: list with dividers

Lines between dashes become groups; the channels below inherit the group.

#EXTINF:-1,----- SPORT -----
#EXTINF:-1 tvg-id="sport1",Sport 1
https://example.com/sport1.m3u8
#EXTINF:-1,----- CINEMA -----
#EXTINF:-1 tvg-id="cine1",Cinema 1
https://example.com/cine1.m3u8

Example: HTTP headers

Some streams need a User-Agent, Referer or cookie. The app reads them from #EXTVLCOPT, #EXTHTTP or after the | symbol in the URL.

#EXTVLCOPT:http-user-agent=Mozilla/5.0
#EXTVLCOPT:http-referrer=https://example.com/
#EXTHTTP:{"Cookie":"token=abc123"}
#EXTINF:-1,Canale con header
https://example.com/live.m3u8

#EXTINF:-1,Canale con header nella URL
https://example.com/live.m3u8|User-Agent=Mozilla/5.0&Referer=https://example.com/

Tags can also appear before the #EXTINF line: the app attaches them to the right channel.

04DRM, keys & headers

Protected streams are described with #KODIPROP tags (the same as Kodi): the app translates them for the player.

ClearKey (keys in the list)

#KODIPROP:inputstream.adaptive.manifest_type=mpd
#KODIPROP:inputstream.adaptive.license_type=clearkey
#KODIPROP:inputstream.adaptive.license_key=0123456789abcdef0123456789abcdef:fedcba9876543210fedcba9876543210
#EXTINF:-1,Canale protetto
https://example.com/stream/manifest.mpd

Widevine (licence server)

#KODIPROP:inputstream.adaptive.license_type=com.widevine.alpha
#KODIPROP:inputstream.adaptive.license_key=https://license.example.com/wv|Authorization=Bearer%20token|R{SSM}|
#EXTINF:-1,Canale Widevine
https://example.com/stream/manifest.mpd

Newer Kodi syntaxes

#KODIPROP:inputstream.adaptive.drm={"org.w3.clearkey":{"license":{"keyids":{"kid":"key"}}}}
#KODIPROP:inputstream.adaptive.drm_legacy=org.w3.clearkey|kid:key

05Xtream & MAG portals

Beyond lists, the app talks directly to provider portals.

Xtream Codes

Sign in with username and password. Loads live categories and channels, movie and series catalogues (with seasons and episodes) and detects the available TV guide by itself.

MAG / Stalker

Sign in with portal address and MAC. Loads channels, movies, series and the guide; the playback link is requested from the portal at play time.

06Movies & series

On-demand content appears in dedicated tabs, separate from live TV.

Movies and series inside M3U lists

The app tells movies from episodes using tvg-type (movie, series, live) or by duration, and spots episodes by name (S01E02, 1x02, "Season 1 Episode 2").

#EXTINF:-1 tvg-type="movie" group-title="Film",Esempio (2021)
https://example.com/vod/film.mp4

#EXTINF:-1 tvg-type="series" group-title="Serie TV - Loki - Stagione 01",S01E01 - Episodio 1
https://example.com/vod/loki-s01e01.m3u8
#EXTINF:-1 tvg-type="series" group-title="Serie TV - Loki - Stagione 02",S02E01 - Episodio 1
https://example.com/vod/loki-s02e01.m3u8
IN THE LIST Serie TV - Loki - Stagione 01 Serie TV - Loki - Stagione 02 S01E01 · S02E01 … parser IN THE APP Loki Season 1 · episodes Season 2 · episodes One series, seasons merged
The group becomes the series: season and generic prefixes are stripped.

07TV guide (EPG)

Current and upcoming programmes for every channel.

20:0021:0022:0023:00 Rai 1 News On air now Up next Sport 1 Talk show Match Rerun Cinema 1 Film On air now Now
Timeline guide: the dashed line is the current time.

08The player

Built on Media3 (ExoPlayer), with attention to the details that matter while watching.

One menu

Video quality, audio and subtitles in the same menu.

Automatic language

Audio starts in the app language, forced subtitles switch on by themselves.

Fast zapping

Change channel or category without leaving the player.

Technical stats

Resolution, frame rate, codec, estimated bitrate and live buffer.

VOD bandwidth estimate

Movies start faster thanks to a higher initial bandwidth estimate.

Picture-in-Picture

Keep watching while you use other apps (on smartphone).

Settings QUALITY Auto ✓ 1080p · 4 Mbps AUDIO English Dolby Digital+ · 5.1 SUBTITLES English (forced) ✓
Quality, audio and subtitles in one menu, with codec and channels for each track.

09Interface

Two interfaces: one for the remote and one for touch.

The available themes.

10Sending a list from your phone

Typing a URL with a remote is slow. With remote activation the TV shows a code and you send the list from this site.

CODE K7P4Q2 TV This site K7P4Q2 https://…/lista.m3u Phone / PC ① ② ③
① your phone sends code and list to the site ② the site delivers them to the TV ③ the TV confirms the import.

Privacy

Playlists you send are not stored on the server: they only exist for the time needed to deliver them to the TV. More details in the FAQ.

Join the Telegram group

Questions, help, news and suggestions: the Telegram group is the OTT Player community, where you can talk directly with the people who build it.

Join on Telegram