This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:provisioning [2018/04/07 18:53] Alexander [Appearance settings] |
en:provisioning [2019/01/16 09:33] Alexander [Force mount SMB and NFS shares] |
||
---|---|---|---|
Line 87: | Line 87: | ||
<syslog_host name="1.1.1.1"/> | <syslog_host name="1.1.1.1"/> | ||
</code> | </code> | ||
+ | |||
+ | ====Statistics server information==== | ||
+ | //**Supported from firmware 4.0.13**// \\ | ||
+ | Set up server URL, where [[en:statistics_drop | statistics]] will be sent. | ||
+ | <code xml> | ||
+ | <statistics url="http://domain/stbstat/index.php" accum_period="45"> | ||
+ | <media /> | ||
+ | <network period="20" /> | ||
+ | </statistics> | ||
+ | |||
+ | </code> | ||
+ | |||
+ | Statistics tag attributes: \\ | ||
+ | * //url// - statistics server address. | ||
+ | * //accum_period// - period in second of statistic accumulation before sent to server. | ||
+ | |||
+ | |||
+ | Network tag attributes (statistics of network interfaces): \\ | ||
+ | * //period// - period in second of statistics reading from hardware. | ||
+ | |||
+ | Media tag has no attributes. If tag media exists, STB will send statistics after stream ends. | ||
====Provisioning server information==== | ====Provisioning server information==== | ||
Line 345: | Line 366: | ||
</code> | </code> | ||
- | //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 (recommended for Stalker), if //false//, then Web-portal only replaces Watch TV app. | + | //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). | ||
Optional attributes: \\ | Optional attributes: \\ | ||
Line 424: | Line 446: | ||
<tv_preview_mode value="true" force="true" /> | <tv_preview_mode value="true" force="true" /> | ||
<display_channel_numbers value="true" /> | <display_channel_numbers value="true" /> | ||
+ | <channel_icons_aspect value="1.777"/> | ||
</appearance> | </appearance> | ||
</code> | </code> | ||
Line 434: | Line 457: | ||
*//tv_cursor_mode// - Enable simple TV control mode. In this mode, cursor keys control volume and channel switch.\\ | *//tv_cursor_mode// - Enable simple TV control mode. In this mode, cursor keys control volume and channel switch.\\ | ||
* //display_channel_numbers// - Enable (true) or disable (false) display of channel numbers(supported from firmware 4.0.17). \\ | * //display_channel_numbers// - Enable (true) or disable (false) display of channel numbers(supported from firmware 4.0.17). \\ | ||
+ | * //channel_icons_aspect// - Channel icon images aspect ration (aspect=width/height). Used for UI channel layout optimizations (supported from firmware 4.0.20). | ||
\\ | \\ | ||
To force some settings to apply use attribute force with value="true" | To force some settings to apply use attribute force with value="true" | ||
+ | |||
+ | ==== Configuration of user interface color schemes ==== | ||
+ | |||
+ | //**Supported from firmware 4.0.17**// \\ | ||
+ | |||
+ | <code xml> | ||
+ | <appearance> | ||
+ | <color_schemes value="true" override="true" default="Berries" force="Berries"> | ||
+ | <scheme name="TVIP brand color"> | ||
+ | <color name="CL_MAIN" value="#ff2A50A3" /> | ||
+ | <color name="CL_BACKGROUND" value="#ff14A2DC"/> | ||
+ | <color name="CL_CONTRAST_MAIN" value="#ffCAE2F5"/> | ||
+ | <color name="CL_CONTRAST_BACKGROUND" value="#ffCAE2F5"/> | ||
+ | <color name="CL_SECOND" value="#ffF37121"/> | ||
+ | <color name="CL_button_casual" >CL_BACKGROUND</color> | ||
+ | </scheme> | ||
+ | <scheme name="Berries"> | ||
+ | </scheme> | ||
+ | </color_schemes> | ||
+ | </appearance> | ||
+ | </code> | ||
+ | |||
+ | * //color_scheme// - root definition of UI color schemes. Attributes: //override// - if //true//, preinstalled schemes will be completely overridden by operator defined schemes; //default// - name of default color scheme; //force// - name of forced color scheme. | ||
+ | * //scheme// - single operator scheme definition; //name// - defines scheme name. | ||
+ | * //color// - defines a color variable; //name// - defines color id from the scheme. //value// defines ARGB color like: #AARRGGBB. | ||
+ | |||
+ | **Base scheme colors:** | ||
+ | *//CL_MAIN// - the main color of a scheme. It is used with the most opaque elements. Usually, at the top and bottom of the screen (default: #ff37363c). | ||
+ | *//CL_BACKGROUND// - background color for the elements at the center of the screen and for table's backgrounds(default: #73aaaaaa). | ||
+ | *//CL_CONTRAST_MAIN// - color for the items (text, images), that are displayed on top of the the main color. This should be in contrast with CL_MAIN (default: #ff282832). | ||
+ | *//CL_CONTRAST_BACKGROUND// - color for the items (information) at the center of the screen (like pop-up menus and transparent windows). This should be in contrast with CL_BACKGROUND (default: #ffffffff). | ||
+ | *//CL_SECOND// - secondary scheme color. This is used for the active control elements (selectors, buttons) (default: #ffffffff). | ||
+ | |||
+ | **Extended colors:** | ||
+ | |||
+ | Definition of these colors is optional. They are calculated from the base colors if not defined.\\ | ||
+ | ^Color ^Dependency ^Transparency ^Description | | ||
+ | | CL_on_main_casual|CL_CONTRAST_MAIN|1,00|general color for the elements on top of the main color| | ||
+ | | CL_text_on_main_casual|CL_on_main_casual |1,00|base text color, that is displayed on top of the main color| | ||
+ | | CL_text_on_main_active|CL_on_main_casual |1,00|active/selected text color, that is displayed on top of the main color| | ||
+ | | CL_text_on_main_dimmed|CL_on_main_casual |0,55|dimmed text color, that is displayed on top of the main color| | ||
+ | | CL_on_background_casual|CL_CONTRAST_BACKGROUND|1,00|base text color, that is at the center or inside a table| | ||
+ | | CL_text_on_background_casual|CL_on_background_casual|1,00|base text color inside a table| | ||
+ | | CL_text_on_background_active|CL_on_background_casual|1,00|active/selected text color inside a table| | ||
+ | | CL_text_on_background_dimmed|CL_on_background_casual|0,55|dimmed text color for inactive elements in tables and some secondary text| | ||
+ | | CL_wallpaper|CL_BACKGROUND|0,90|background color for most of UI widgets| | ||
+ | | CL_fade|CL_BACKGROUND|0,90|video overlay color for the fullscreen elemens| | ||
+ | | CL_additional|CL_BACKGROUND|0,40|additional color for active widgets and active table columns| | ||
+ | | CL_bgr_color|CL_MAIN|1,00|color of the background image in the Home screen (when no video) and for some other elements| | ||
+ | | CL_bumper|CL_MAIN|0,94|color of top and bottom "panels"| | ||
+ | | CL_header|CL_bumper|--|background color of the elements at the top of the screen| | ||
+ | | CL_footer|CL_bumper|--|background color of the elements at the bottom of the screen| | ||
+ | | CL_popup|CL_MAIN|1,00|color of dialog windows, extended settings and system messages| | ||
+ | | CL_popup_contrast|CL_CONTRAST_MAIN|1,00|content color inside dialog windows| | ||
+ | | CL_plate|CL_MAIN|1,00|"Plates" (Home screen elements, VoD elements, etc.) color| | ||
+ | | CL_plate_contrast|CL_CONTRAST_MAIN|1,00|context (text, buttons) color inside "plates"| | ||
+ | | CL_selector|CL_SECOND|--|selector color for the active/selected control elements, cursor, active buttons, etc.| | ||
+ | | CL_empty|CL_SECOND|1,00|color of inactive part of a progress bar| | ||
+ | | CL_inactive|CL_SECOND|0,35|color for disabled UI elements (buttons)| | ||
+ | | CL_full|CL_CONTRAST_MAIN|1,00|color of active part of a progress bar| | ||
+ | | CL_button_selected|CL_selector|1,00|color of a selected button| | ||
+ | | CL_button_casual|CL_selector|0,35|color of a disabled button| | ||
+ | | CL_on_button|CL_on_background_casual|--|text and icon color for a button| | ||
+ | |||
+ | Preinstalled scheme names are the following: | ||
+ | |||
+ | * Default | ||
+ | * Deep Purple | ||
+ | * Indigo | ||
+ | * Teal | ||
+ | * Blue | ||
+ | * Light Green | ||
+ | * Berries | ||
+ | * Chocolate | ||
+ | * Medusa | ||
+ | * TVIP classic | ||
+ | ====Media playback setup==== | ||
+ | |||
+ | //**Supported from firmware: 4.0.19**// \\ | ||
+ | |||
+ | Allows setup of some media playback parameters. | ||
+ | <code xml> | ||
+ | <media> | ||
+ | <default_audio_language force="true" value="bul bg eng en" /> | ||
+ | <default_subtitle_language force="true" value="ru rus" /> | ||
+ | </media> | ||
+ | </code> | ||
+ | |||
+ | * //default_audio_language// - default audio language for media playback. | ||
+ | * //default_subtitle_language// - default subtitle language for media playback. | ||
+ | |||
+ | //value// attribute is space-separeted list of ISO 639-1 and ISO 639-2 language codes. It is recommended to use both formats for each language (ex. "eng en"). If more the one language is set up, the one listed earlier has priority.\\ | ||
+ | If audio value is empty, first supported audio track is used. If subtitle value is empty, subtitles will be disabled. \\ | ||
+ | This provisioning value is not compatible with the samilar settings in user interface. It is recommened to hide user interface setting, if provisioning is used. | ||
+ | |||
====Force mount SMB and NFS shares==== | ====Force mount SMB and NFS shares==== | ||