User Tools

Site Tools


en:stb:system_uri

Table of Contents

System URI

:!: System URIs are available from fw. 4.1.12. :!:

System URI allows linking to different parts of TVIP Linux OS. This is similar to Android Activity concept.
Currently system URI are used in:

  • Middleware API and JavaScript search.
  • Middleware API control messages (second screen and admin control).
  • Home screen banner.
  • JavaScript API (from fw. 4.2.x: TvipStb.execSystemUri(uri))

URI

Basic system URI consists of controller name and options.

tvplayer/?channel=1

Controller concept is an application names.
Allowed system controller names are:

  • main_menu (Home screen)
  • tvplayer (Watch TV)
  • vod (Movies)
  • dvr (DVR)
  • mediaplayer (Mediaplayer)
  • cctv (CCTV)
  • navigator (Web Browser)
  • standby (StanBy mode)

Web apps controller names are similar to their name options.

Options and examples

Watch TV

Launch Watch TV app.

tvplayer

Immediately launch Live TV channel with ID 1.

tvplayer/?channel=1

Immediately launch Live TV channel with number 1.

tvplayer/?channel_num=1

Show EPG description with archive button for channel ID 1 and timestamp xxxx (unix time format).

tvplayer/?channel=1&start=xxxx

Immediately launch TV archive for channel ID 1 and timestamp xxxx (unix time format).

tvplayer/?channel=1&start=xxxx&force=true

Movies

Launch Movies app.

vod

Show movie description with ID 1.

vod/?movie=1

Show list of seasons for TV Series with ID 2.

vod/?series=2

Show list of episodes for TV Series with ID 2 and Season with ID 3.

vod/?series=2&season=3

Show episode ID 4 description for TV Series with ID 2 and Season with ID 3.

vod/?series=2&season=3&episode=4

Web Browser

Web page can be launched in Web browser by providing simple URL:

http://google.com

or over navigator app

navigator/?url=http%3A%2F%2Fgoogle.com

YouTube

Launch Youtube app.

youtube

Launch Youtube app with video with Youtube ID xxxx.

youtube/?v=xxxx

Custom Web applications

If a web app mywebapp coulbe launched from URL http://mywebapp.com/, then it can be lauched with parameters.

mywebapp/?param=xxx

In that case, web app will be lauched from URL: http://mywebapp.com/?param=xxx

en/stb/system_uri.txt · Last modified: 2019/12/26 21:28 by Alexander