TVIP Knowledge Base Update Server Set-Up

Update Server Set-Up

A TVIP Update Server provides firmware files for TVIP STBs using a fixed URL structure.

Which firmware an STB retrieves depends on the model, the operating system, and the selected update channel.

Any web server that can serve static files can be used, for example Apache, NGINX, or lighttpd.

URL Structure

The Update Server uses the following basic structure:

http://tvipupdate.net/stb/<model>/<OS>/<update_type>/tvip_firmware.ota.zip

The URL consists of the following parts:

  • Domain – the domain of your own Update Server
  • /stb/ – fixed directory path
  • Model – TVIP STB model or model series
  • OS – operating system of the STB
  • Update Type – selected update channel
  • tvip_firmware.ota.zip – the actual firmware file

Models

After /stb/, the directory for the corresponding TVIP STB model or model series is used.

The following directory names are used:

s6xx
s705a
s706a
s710a
s725a
s726
s730a

For the 6xx Series, xx represents the corresponding model number.

For the corresponding models of the 7xx Series, the specific model number is used, for example s710a, s725a, or s730a.

Important for S726

Both the TVIP S726 and TVIP S726 Ultra use the model directory s726.

Operating System

After the model, the operating system of the STB is specified.

The following directory names are used:

  • android
  • linux-qt

Update Channel

The next part specifies which update channel is used to provide the firmware.

  • release – regular firmware versions
  • beta – beta firmware versions

Firmware Files

The corresponding directory must contain the firmware file and the associated information file.

  • tvip_firmware.ota.zip – the actual firmware file
  • tvip_firmware.info – contains information about the firmware

A complete directory structure could look like this:

/stb/
└── s710a/
    └── android/
        └── release/
            ├── tvip_firmware.ota.zip
            └── tvip_firmware.info

In this example, the firmware would be available at:

http://tvipupdate.net/stb/s710a/android/release/tvip_firmware.ota.zip

Synchronize the Update Server with TVIP

Your own Update Server can also be synchronized with the TVIP Update Server.

This can be done using rsync:

rsync -P --timeout=3000 -aWvH --stats --force --delete --delete-after --exclude=prov* rsync://rsync.tvip.tv/tvipupdate/ /var/www/tvipupdate.net

Note

The options --delete and --delete-after can remove local files if they are no longer present on the TVIP source.