TVIP Mediacenters support operation without any middleware. TV content data is loaded from M3U playlist.
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.
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+)
- tvg-shift=-2 - support EPG offset (supported in fw 4.2.35)
- epg-service-id=“1010” - Program number of MPEG TS EPG source (Service ID). (supported from fw 5.0.7)
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 tvg-shift=-2 group-title="Free channels",News Channel (+2) 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
Supported formats:
XMLTV can by packed inside .gz и .zip archives. Tags start and stop are required to be in full ISO format: “YYYYMMDDHHMMSS -HHMM”.