en:provisioning

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:provisioning [2021/11/11 10:27]
Виталий Журавлев [Add/hide web applications]
en:provisioning [2023/10/11 16:02]
Виталий Журавлев [Display setup]
Line 102: Line 102:
  
 <code xml> <code xml>
-<​update_server name="​update.tvip.ru" />+<​update_server name="​update.tvip.tv" />
 </​code>​ </​code>​
  
Line 109: Line 109:
   * [[provider_mirror|priorities]] of update server addresses   * [[provider_mirror|priorities]] of update server addresses
   * Defined address will be written to /​var/​tvip/​update_server.prov   * Defined address will be written to /​var/​tvip/​update_server.prov
-  * All official updates are always avaliable on //​update.tvip.ru// web server+  * All official updates are always avaliable on //​update.tvip.tv// web server
  
 ====TR-069 server (ACS) information==== ====TR-069 server (ACS) information====
Line 290: Line 290:
  
 <code xml> <code xml>
-<time tz="Europe/Moscow" ntp="ru.pool.ntp.org"​ time_format="​12"​ />+<time tz="Asia/Singapore" ntp="​pool.ntp.org"​ time_format="​12"​ />
 </​code>​ </​code>​
 //tz// defines time zone in [[http://​ru.wikipedia.org/​wiki/​Tz_database|zoneinfo]] format.\\ //tz// defines time zone in [[http://​ru.wikipedia.org/​wiki/​Tz_database|zoneinfo]] format.\\
Line 312: Line 312:
   <vod enabled="​false"​ />   <vod enabled="​false"​ />
   <​timeshift enabled="​false"/>​   <​timeshift enabled="​false"/>​
 +  <​appstore enabled="​false"/>​
 </​features>​ </​features>​
 </​code>​ </​code>​
Line 317: Line 318:
  
 Tag attribute //timeshift enabled// allow enable (//true//) or disable (//false//) local timeshift. Tag attribute //timeshift enabled// allow enable (//true//) or disable (//false//) local timeshift.
 +
 +:!: The tag //​appstore//​ - allowed for 7xx models only
  
  
Line 325: Line 328:
  
 <code xml> <code xml>
- 
 <​webapps>​ <​webapps>​
    <​app name="​lk"​ title="​User Account"​ icon="​account"​ uiwidth="​1280"​ uiheight="​720"​ url="​http://​private.provider.com"​ api="​mag"/>​    <​app name="​lk"​ title="​User Account"​ icon="​account"​ uiwidth="​1280"​ uiheight="​720"​ url="​http://​private.provider.com"​ api="​mag"/>​
Line 337: Line 339:
 If //​override//​ attribute is //true//, all default apps will be hidden; if attribute is //false//, custom apps will be added to default apps.\\ If //​override//​ attribute is //true//, all default apps will be hidden; if attribute is //false//, custom apps will be added to default apps.\\
 :!: Since version 5.0.33, the //​override//​ attribute has been deprecated and do not recommend to use. Instead, you need to use the attribute //hidden// for system applications. :!: Since version 5.0.33, the //​override//​ attribute has been deprecated and do not recommend to use. Instead, you need to use the attribute //hidden// for system applications.
 +
 +If //​reordering//​ attribute is //true//, it's allow move WEB applications with //menu// button, supported from firmware 5.0.48 ​
  
 Web app attributes: \\ Web app attributes: \\
   * //name// is an unique app name (a-z characters, no spaces), it should not be the same as a reserved name or as other web app's name;​\\ ​   * //name// is an unique app name (a-z characters, no spaces), it should not be the same as a reserved name or as other web app's name;​\\ ​
   * //title// is user readable name for Main menu display; \\   * //title// is user readable name for Main menu display; \\
 +  * //hidden// - to hide the system application (//from fw 5.0.33//)
   * //icon// icon codename; \\   * //icon// icon codename; \\
   * //uiwidth// and //​uiheight//​ define UI resolution; \\   * //uiwidth// and //​uiheight//​ define UI resolution; \\
-  * //bgr// - URL of an PNG image, that will be used instead of the app default banner. Width: ​330 px. Height: ​185 px (//from fw. 4.0.11//)\\+  * //bgr// - URL of an PNG image, that will be used instead of the app default banner. Width: ​320 px. Height: ​180 px (//from fw. 4.0.11//)\\
   * //url// defines web application URL; \\   * //url// defines web application URL; \\
   * //api// defines STB API type (tvip/​mag/​html5/​youtube/​blink);​ \\   * //api// defines STB API type (tvip/​mag/​html5/​youtube/​blink);​ \\
Line 356: Line 361:
 \\ \\
  
 +:!: For system applications allowed attribute //hidden// only\\
 +Reserved application names for //name// attributes:​\\
 +  * "​tvplayer"​ (Watch TV),\\
 +  *  "​dvr"​ (DVR),\\
 +  *  "​mediaplayer"​ (Mediaplayer),​\\
 +  *  "​vod"​ (Movies),\\
 +  *  "​cctv"​ (CCTV),\\
 +  *  "​preferences"​ (Settings),​\\
 +  *  "​allapps"​ (Android'​s All apps).\\
  
-Reserved application names for //name// attributes: "​tvplayer"​ (Watch TV), "​dvr"​ (DVR), "​mediaplayer"​ (Mediaplayer),​ "​vod"​ (Movies), "​cctv"​ (CCTV), "​preferences"​ (Settings), "​allapps"​ (Android'​s All apps). 
-Default app names: "​account"​ for Operator'​s User Account page, "​youtube"​ for YouTube app, "​kodi"​ for Kodi app. 
-For customer'​s app, you can use any avaliable icon.\\ 
  
 +Default app names:\\
 +    *  "​account"​ for Operator'​s User Account page,\\
 +    *  "​youtube"​ for YouTube app,\\
 +    * "​Plex"​ for Plex\\
 +    *  "​kodi"​ for Kodi app.\\
 +For customer'​s app, you can use any available icon.\\
  
 +:!: Since version 5.0.33, you can't to change the configuration (URL, icon, etc.) of reserved applications. If you need to replace the system application,​ you need to hide it and create your own with a different //​name//​.\\ ​
 +By default path to config file at firmware: ​ /​home/​tvip/​profiles/<​profile>/​tvip_webapps.xml\\
 +
 +:!: Pay attention, that for "​Youtube"​ app since 4.2.x firmware need use HTTPS and api="​youtube"​ \\
 +To return to the main menu, the application must go to the "​about:​ back" page when exiting. ​
  
 To disable ALL webapps, use the following code: To disable ALL webapps, use the following code:
-<​code>​+<​code ​xml>
 <webapps override="​true">​ <webapps override="​true">​
 </​webapps>​ </​webapps>​
Line 405: Line 427:
  
 <code xml> <code xml>
-<​tv_stream type="​udpxy"​ server="​http://​user:​pwd@host.ru:4022" />+<​tv_stream type="​udpxy"​ server="​http://​user:​pwd@host.tv:4022" />
 </​code>​ </​code>​
  
Line 482: Line 504:
  
 //server// attribute defines portal URL (middleware);​ //api// defines JavaScript API for the portal ("​tvip",​ "​mag",​ "​html5"​).\\ //server// attribute defines portal URL (middleware);​ //api// defines JavaScript API for the portal ("​tvip",​ "​mag",​ "​html5"​).\\
-If //noui// attribute is //true// then all TVIP user interface is replaced by Web portal ("​Whole system"​ mode), if //false//, then Web-portal only replaces Watch TV app ("TV only" mode). If //​combined//​ attribute is //true// and //noui// is //false//, then "​Combined"​ mode is used (from v.4.0.23).+If //noui// attribute is //true// then all TVIP user interface is replaced by Web portal ("​Whole system"​ mode), if //false//, then Web-portal only replaces Watch TV app ("TV only" mode). If //​combined//​ attribute is //true// and //noui// is //false//, then "​Combined"​ mode is used (from v.4.0.23).\\ \\ 
 + :!: "Whole system mode" is now deprecated and will be removed in future updates. Use "​Combined"​ mode instead. If you need to block long press of Home button, use //​home_uri//​ tag with value //​tvplayer//​ inside //​appearance//​ tag. 
  
 Optional attributes: \\ Optional attributes: \\
Line 493: Line 517:
 For selection portal use "​dafault"​ parameter : "<​nowiki>​server1=Server 1 Name|http://​server1.domain/​path|default&​server2=Server 2 Name|http://​server2.domain/​path</​nowiki>"​ \\ For selection portal use "​dafault"​ parameter : "<​nowiki>​server1=Server 1 Name|http://​server1.domain/​path|default&​server2=Server 2 Name|http://​server2.domain/​path</​nowiki>"​ \\
 //​force_retry//​ - enable (//true//) force retries connect to portal at any network or others issues. (from v.5.0.16);​\\ //​force_retry//​ - enable (//true//) force retries connect to portal at any network or others issues. (from v.5.0.16);​\\
 +//​waiting_animation//​ - for disable use //false// it's allow to disable "boot animation"​ at time when portal loading. (:!: the attribute allowed at AndroidOS from fw 5.1.10 ) \\
  
 === Application as the content source === === Application as the content source ===
Line 538: Line 563:
   <cec value="​false"​ force="​true"​ />   <cec value="​false"​ force="​true"​ />
   <​sync_standby value="​true"​ />   <​sync_standby value="​true"​ />
 +  <​cec_name value="​anyName"​ />
 </​display>​ </​display>​
 </​code>​ </​code>​
Line 546: Line 572:
 //cec// - enable HDMI-CEC.\\ //cec// - enable HDMI-CEC.\\
 //aspect// - Default aspect ratio (box,​zoom,​full),​ to set default, use empty value=""​.\\ //aspect// - Default aspect ratio (box,​zoom,​full),​ to set default, use empty value=""​.\\
-//​sync_standby//​ - STB goes to Sleep/Wake, when TV goes to sleep/wake. (do not supported by all mediacenters and TVs, from fw. 4.0.13).+//​sync_standby//​ - STB goes to Sleep/Wake, when TV goes to sleep/wake. (do not supported by all mediacenters and TVs, from fw. 4.0.13).\\ 
 +//​cec_name//​ - Allows you to set the device name via HDMI on compatible TVs. Format [Aa-Zz,​-,,​_,​0-9] up to 14 characters (supported from firmware 5.1.26).\\
  
 To force some settings to apply use attribute force with value="​true"​ To force some settings to apply use attribute force with value="​true"​
Line 574: Line 601:
   <​display_channel_has_archive value="​true"​ />   <​display_channel_has_archive value="​true"​ />
   <​background_picture value="​Custom"​ force="​true">​   <​background_picture value="​Custom"​ force="​true">​
-    ​<picture name="​Custom"​ url="​http://​domain/​Custom.png"/>​+  ​<picture name="​Custom"​ url="​http://​domain/​Custom.png"/>​
   </​background_picture>​   </​background_picture>​
   <​media_freeze_animation value="​false"​ />   <​media_freeze_animation value="​false"​ />
 +  <​back_as_recall value="​true"​ />
 +  <​menu_as_home value="​true"​ /> 
 </​appearance>​ </​appearance>​
 </​code>​ </​code>​
Line 592: Line 621:
   * //​background_picture//​ - defines monochrome background image for the home screen (and some other apps). //value// - sets up identifier for the image. Identifier can be internal (like: //waves//, //​triangles//​) or one of the list of <​picture>​ tags. <​picture>​ tag attributes: //name// - background identifier, //url// - URL of 8-bit monochrome PNG image. Supported from firmware 4.2.16.   * //​background_picture//​ - defines monochrome background image for the home screen (and some other apps). //value// - sets up identifier for the image. Identifier can be internal (like: //waves//, //​triangles//​) or one of the list of <​picture>​ tags. <​picture>​ tag attributes: //name// - background identifier, //url// - URL of 8-bit monochrome PNG image. Supported from firmware 4.2.16.
   * //​media_freeze_animation//​ - Disabling animation «freeze» video (false) - enable (true) - disable (Supported from firmware: 4.2.33). \\   * //​media_freeze_animation//​ - Disabling animation «freeze» video (false) - enable (true) - disable (Supported from firmware: 4.2.33). \\
 +  * //​back_as_recall//​ - allows you to assign to the //back// button the function to return to the previous channel (supported since firmware 5.0.67).
 +  * //​menu_as_home//​ - allows you to use the //menu// button to call the //home// action, except when used for its intended purpose, this functionality only works in the TV application (supported since firmware 5.0.67).
  
 To force some settings to apply use attribute force with value="​true"​ To force some settings to apply use attribute force with value="​true"​
Line 679: Line 710:
   <​media>​   <​media>​
     <​default_audio_language force="​true"​ value="​bul bg eng en" />     <​default_audio_language force="​true"​ value="​bul bg eng en" />
-    <​default_subtitle_language force="​true"​ value="​ru rus" />+    <​default_subtitle_language force="​true"​ value="​en eng" />
   </​media>​   </​media>​
 </​code>​ </​code>​
Line 729: Line 760:
 ===="​Cable TV" mode over provisioning ==== ===="​Cable TV" mode over provisioning ====
  
-//​**Supported from firmware: ​3.2.33**// \\+//​**Supported from firmware: ​4.2.33**// \\
  
 This option allow playback of a single stream without UI This option allow playback of a single stream without UI
Line 736: Line 767:
  
 <​system_locks>​ <​system_locks>​
-        <ctv enabled="​false" url="​http://​your_stream.com"​ volume="​30"​ />+        <ctv enabled="​true" url="​http://​your_stream.com"​ volume="​30"​ />
 </​system_locks>​ </​system_locks>​
  
Line 837: Line 868:
  
 //​pref_network_iface//​ - Interface type (Eth/​WiFi)\\ //​pref_network_iface//​ - Interface type (Eth/​WiFi)\\
 +//​pref_network_iface_enabled//​ - Network interface enable\\
 //​pref_network_wlan_ssid//​ - WiFi Access point\\ //​pref_network_wlan_ssid//​ - WiFi Access point\\
 //​pref_network_config//​ - Config (DHCP/​Manual)\\ //​pref_network_config//​ - Config (DHCP/​Manual)\\
Line 902: Line 934:
 ==== TVIP App Store server URL ==== ==== TVIP App Store server URL ====
  
-:!: //​**Supported only for OS Android, firmware 4.4.1**// \\+:!: //​**Supported only for OS Android, firmware 4.4.1+**// \\
  
 This defines various server URL for Tvip App Store. This defines various server URL for Tvip App Store.
Line 921: Line 953:
  
  <​!-- Update server setup -->  <​!-- Update server setup -->
- <​update_server name="​update.tvip.ru" />+ <​update_server name="​update.tvip.tv" />
   ​   ​
  <​!-- Logo setup -->  <​!-- Logo setup -->
en/provisioning.txt · Last modified: 2023/12/20 16:29 by Vladimir Manov