User Tools

Site Tools


en:m3u

This is an old revision of the document!


Channel list from M3U playlist

TVIP Mediacenters support operation without any middleware. TV content data is loaded from M3U playlist.

Setup

Supported playlist types are: M3U and XSPF. Supported EPG formats are JTV and XMLTV. Files could be loaded from local storage (/tmp/mnt/sda1/test.m3u) or from HTTP server (recommended).

To manually setup playlist go Settings → TV → Content source. Select M3U-playlist. Setup playlist and EPG URLS:

http://domain.ru/path/provider.m3u
http://domain.ru/path/xmltv.xml.gz

The recommended way to setup playlist is over provisioning.

M3U format specs

Extended tags could be used:
- format=“auto” - stream format for better player setup; can be: auto - use auto detection, mpegts - use MPEG-TS demuxer, hls - use HLS demuxer, other - use FFMpeg demuxer.
- group-title=“Favorite” - favorites (groups of channels)
- tvg-name=“Channel” - channel name in EPG file
- tvg-id=“1” - channel's id in xmltv
- url-tvg=“http://domain/file.zip” - URL to EPG file
- tvg-logo=“http://domain/channel.png” - URL to channel in PNG format
- refresh=“3600” - playlist refresh period
- channel-number=10 - Channel number to be displayed to user (numbers are generated, by default from 1) (supported in fw. 4.1.12+)

M3U file example:

#EXTM3U url-tvg="http://server/jtv.zip" refresh="3600"
#EXTINF:-1 group-title="Free channels",Channel One
udp://225.55.55.1:1234
#EXTINF:-1 group-title="Free channels",Channel Two
udp://225.55.55.2:1234
#EXTINF:-1 group-title="Free channels",News Channel
udp://225.55.55.3:1234
#EXTINF:-1 group-title="Free channels",News 2 Channel
http://udpxy.domain.ru:5555/udp/225.55.55.55:1234
#EXTINF:-1 group-title="Music channels",MTV
udp://225.55.55.4:1234

EPG formats

Supported formats:

XMLTV can by packed inside .gz и .zip archives. Tags start and stop are required to be in full ISO format: “YYYYMMDDHHMMSS -HHMM”.

en/m3u.1552286404.txt.gz · Last modified: 2019/03/11 09:40 by Alexander