Additional options allow you to change the appearance and behavior of the application, and are specified in the configuration file /etc/microimpuls/portal/client.js.
The following options are available for the sibseti interface.
Logic of work
Authorization regime
Option name: auth_mode, data type: string.
Possible values:
- password - by login and password (by default).
- phone number - by phone number. Confirmation is carried out by means of SMS.
- device_uid A unique device identifier (usually a MAC address) or IP address. In case of unsuccessful authorization, the subscriber will be offered authorization by login and password.
- device_uid_wo_fallback - the same as device_uid, but without processing some situations of unsuccessful authorization and transition to login and password authorization.


Example:
var CLIENT_SETTINGS = {
///...
'auth_mode': 'password'
};
Display of the button for selecting the authorization method (by login and password or phone number)
Option name: show_alter_auth_button, data type: bool.
Possible values:
- true - the authorization screen will display the button for selecting the login method.
- falsely - the button for selecting the login method will not be displayed (by default).
Example:
var CLIENT_SETTINGS = {
// ..
'show_alter_auth_button': true
};


Missing service errors of authorization
Option name: omit_unsuccessful_login, data type: bool.
Possible values:
- true In case of errors with codes 3, 4, 10, 11, 12 (the error codes of the method TVMW API Login) the screen with the error information will be skipped and the login and password input form will be immediately opened (except for the mode)
auth_mode*wo_fallback). - falsely if any errors occur, a screen with error information (by default) will be shown.
Example:
var CLIENT_SETTINGS = {
///...
-omit_unsuccessful_loginfalse:
};
Verification of additional account status
Option name: check_account_status_reason, data type: bool.
Possible values:
- true Additional account status will be checked even in case of successful authorization (by default). For example, if the account is active, but the additional status is “Blocked for debt”, then the corresponding authorization error will be issued in the portal.
- falsely additional status will not be checked.
Example:
var CLIENT_SETTINGS = {
///...
-check_account_status_reason': true
};
Registration by phone number with confirmation by SMS
Option name: registration_available, data type: bool.
Possible values:
- true The registration button is displayed via SMS.
- falsely it is not displayed (by default).
To be able to register via SMS, you need to properly configure integration with the SMS gateway on the Smarty server side.
Example:
var CLIENT_SETTINGS = {
///...
'registration_available': false
};

Displaying virtual tariffs
Option name: use_virtual_packages, data type: bool.
Responsible for removing virtual tariffs in the list.
Possible values:
- true only virtual rates (except hidden, disabled and inaccessible) are displayed.
- falsely all tariffs are displayed: normal and virtual (except hidden, disabled and inaccessible) (by default).
Example:
var CLIENT_SETTINGS = {
///...
'use_virtual_packages': true
};
Mobile phone number mask in the authorization screen
Option name: registration_phone_mask, data type: string.
By default +7 ??? ??? ?? ??.
The mask uses a special symbol ?, instead of which the input value will be substituted, the remaining characters will be displayed as is.
Example:
var CLIENT_SETTINGS = {
///...
'registration_phone_mask': '+7??????????
};

Saving the login and password in the input fields on the authorization screen when restarting the application
Option name: restore_login_form_input_from_settings, data type: bool.
Possible values:
- true when restarting the application and in the case of a logout in the input fields, the login and password from the previous session will be filled on the authorization screen.
- falsely the data will not be completed (by default).
It is recommended to use this option in the authorization method password to avoid loss of password by subscribers after logout.
Example:
var CLIENT_SETTINGS = {
///...
'restore_login_form_input_from_settings': false
};
The ability to enter symbols in the login
Option name: is_letter_in_login, data type: bool.
Possible values:
- true in the login you can enter numbers and letters.
- falsely only numbers can be entered in the login (by default).
Example:
var CLIENT_SETTINGS = {
///...
'is_letter_in_loginfalse:
};


The ability to enter characters in the password
Option name: is_letter_in_password, data type: bool.
Possible values:
- true numbers and letters can be entered in the password.
- falsely only numbers can be entered in the password (by default).
Example:
var CLIENT_SETTINGS = {
///...
'is_letters_in_password': false
};


Reboot the device after the first activation
Option name: reboot_device_after_login_with_password, data type: bool.
Possible values:
- true - after the subscriber is authorized with a login and password through the authorization form, the device will be rebooted.
- falsely no reboot will be made, the application will be downloaded as usual (by default).
It can be used to perform system billing operations during the initial “activation” of the prefix by the subscriber.
Example:
var CLIENT_SETTINGS = {
///...
'reboot_device_after_login_with_password': false
};
Delayed application loading at start
Option name: loading_timeout, data type: int. Set in milliseconds, the default value is: 1000.
The option allows you to set the number of milliseconds by which the initial download of the portal will be delayed. It can be used, for example, to customize the portal to display a welcome picture before launching.
By default 1000, which corresponds to one second. If you specify a zero or too small value, then some application functions on some devices may be disrupted due to asynchronous implementation of the API of some devices. For example, a small delay is necessary to be able to determine the device not only by type, but also by model (if Smarty configures the appropriate types of devices with a model) for Android consoles.
Example:
var CLIENT_SETTINGS = {
///...
'loading_timeout': 1000
};
Delay in search
Option name: search_request_delay, data type: int. Set in milliseconds, the default value is: 3000.
Allows you to set the delay time before starting search queries (after entering 3 characters in the on-screen keyboard). It is designed to reduce the number of search queries to Smarty.
Example:
var CLIENT_SETTINGS = {
///...
'search_request_delay': 3000
};
Disabling the SET button on MAG consoles
Option name: disable_set_button_on_mag, data type: bool.
Possible values:
- true The SET (Setup) button on the MAG console will be blocked.
- falsely the button will work according to the settings in the firmware (by default).
Example:
var CLIENT_SETTINGS = {
///...
'disable_set_button_on_mag': false
};
Selection of the application interface used through account settings in Smarty
Option name: check_account_template, data type: bool.
Possible values:
- true After logging in, the template installed in the Smarty account settings will be checked, and if it differs from the one used, the application will be restarted in the desired template (by default).
- falsely The set template in the account settings in Smarty will be ignored.
Example:
var CLIENT_SETTINGS = {
///...
'check_account_template': true
};
Suspension of server requests in Stand-By mode
Option name: block_request_in_standby, data type: bool.
Possible values:
- true This includes blocking requests to the server if the device is in Stand-By mode. After leaving Stand-By, sending requests to the server is restored, however, the data in the interface may be outdated for some time.
- falsely Requests do not stop even in Stand-By, the data displayed in the interface does not become outdated (by default).
The option allows you to save server resources in moments of downtime of user devices.
Example:
var CLIENT_SETTINGS = {
///...
'block_requests_in_standby': false
};
Update to build the application on Android STB/TV
Option name: app_package_updating_url, data type: string.
When specifying the URL to download apk in this option, the application will attempt to download it and self-update it. When updating, the current version of the application is checked - the download and install mechanism is launched only if the version specified in the url is larger than the current version of the installed apk (in the example below, the version is a substring) 1.0.0).
The option is only available for Android STB/TV builds over 2.3.
Example:
var CLIENT_SETTINGS = {
// …
'app_package_updating_url': "http://your-website.com/example-app-1.0.0_100100.apk"
};
Update build launcher on Android STB/TV
Option name: launcher_package_updating_url, data type: string.
When specifying the URL to download apk in this option, the application will attempt to download it and self-update it. When updating, the current version of the launcher application is checked - the download and installation mechanism is launched only if the version specified in the url is larger than the current version of the installed launcher (in the example below, the version is a substring) 1.0.0).
The option is only available for launcher builds for Android STB/TV versions over 2.3.
Example:
var CLIENT_SETTINGS = {
// …
'launcher_package_updating_url: "http://your-website.com/example-launcher-1.0.0_100100.apk"
};
Enabling the system debugging console on a device with a specific User-Agent
Option name: enable_system_debug_for_user_agent, data type: string.
Example:
var CLIENT_SETTINGS = {
///...
"enable_system_debug_for_user_agent": "Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36"
};
Disabling HealthCheck request submission
Option name: enable_health_check, data type: bool.
Possible values:
- true The HealthCheck request is disabled.
- falsely Sending HealthCheck is not disabled (by default).
Example:
var CLIENT_SETTINGS = {
///...
'enable_health_check': true
};
Adding Market Name to Device Type
Option name: use_store_flag_from_device_meta, data type: bool.
The name of the market is added to the type of device through the lower underline (for example, android_stb_googleplay). The name of the market is taken from the assembly, that is, it must be sewn into it. This option is only available for Android stores and will require a separate build for each of them. The list of available markets: “googleplay”, “sberbox”, “yandextv”, “rustore”.
Possible values:
- true the market specified in the device metadata will be transmitted.
- falsely - will be transmitted by default (by default).
Example:
var CLIENT_SETTINGS = {
// ..
'use_store_flag_from_device_meta': true
};
Management logic
Switching channels within the selected category
Option name: switching_channels_inside_category, data type: bool.
Possible values:
- true Switching channels with Ch+/- buttons will occur within the selected channel category.
- falsely Switching will occur within the All category, even if another category is selected (by default).
Example:
var CLIENT_SETTINGS = {
///...
'switching_channels_inside_category': false
};
Ability to exit the application
Option name: samsung_guidelines_compatibility_mode, data type: bool.
Possible values:
- true When you click “Back” on the Main screen and the Authorization screen, a pop-up appears, offering to close the application.
- falsely - popap with an exit from the application does not appear (by default).
Example:
var CLIENT_SETTINGS = {
///...
'samsung_guidelines_compatibility_mode': false
};
Reproduction of content
Rewinding the archive by re-querying the position
Option name: server_rewind_mode, data type: bool.
Possible values:
- true - for rewinding will be used positioning by specifying the time stamp. The URL to the thread will be re-requested from the server at each rewind (by default).
- falsely fast-forward through the stream by the seek method by means of the player (does not always work correctly due to different implementations on players, but faster).
Example:
var CLIENT_SETTINGS = {
///...
'server_rewind_mode': true
};
Player rewind step
Option name: player_wind_step, data type: int.
Allows you to set the step of rewinding the player in the archive and video library mode in one click of the rewind button. Step is given in seconds, by default 30.
Example:
var CLIENT_SETTINGS = {
///...
'player_rewind_step': 30
};
Automatic playback of the last channel viewed at launch
Option name: auto_launch_last_view_channel, data type: bool.
Possible values:
- true play the last channel automatically when the application starts.
- falsely display the main screen (by default).
Example:
var CLIENT_SETTINGS = {
///...
'auto_launch_last_viewed_channel': false
};
The ability to select a data center in the settings menu
Option name: allow_to_change_data_center, data type: bool.
Possible values:
- true In the settings menu, the user can independently choose the broadcast server (corresponds to the configured data centers in Smarty).
- falsely the user will not be able to select the broadcast server (by default).
Example:
var CLIENT_SETTINGS = {
///...
'allow_to_change_data_center': false
};

Sound control mode on Samsung Smart TV Orsay
Option name: samsung_smart_tv_volume_control_off, data type: bool.
Possible values:
- true sound control is carried out at the level of the operating system of the device (standard control inside the tv).
- falsely sound management is carried out at the application level (by default).
Example:
var CLIENT_SETTINGS = {
///...
'samsung_smart_tv_volume_control_off': false
};
Volume up/down step
Option name: volume_control_step, data type: int.
By default 5 (percentage points out of 100, where 100 is the maximum volume, 0 is the minimum).
Example:
var CLIENT_SETTINGS = {
///...
'volume_control_step': 5
};
Stopping content playback when leaving full-screen viewing
Option name: stop_player_on_screen_showing, data type: bool.
Possible values:
- true when switching to other screens, the player will be stopped.
- falsely the player will work in the background, the interface will be displayed with the effect of semitransparency (by default).
Example:
var CLIENT_SETTINGS = {
///...
'top_player_on_screen_showing': false
};
Keeping the selected aspect ratio for each channel separately
Option name: save_aspect_ratio_per_channel, data type: bool.
Possible values:
- true in the application settings on the device, the aspect ratio selected by the user will be stored separately for each channel.
- falsely the last selected aspect ratio common to all channels will be retained (by default).
Example:
var CLIENT_SETTINGS = {
///...
'save_aspect_ratio_per_channel': false
};
Ignoring the aspect ratio value coming from Smarty
Option name: ignore_server_aspect, data type: bool.
Possible values:
- true Setting an aspect ratio on the channel editing page in Smarty will not affect the channel aspect ratio (by default).
- falsely The “Party Ratio” value on the channel editing page in Smarty will be taken by default for channels.
Example:
var CLIENT_SETTINGS = {
///...
'ignore_server_aspect': false
};
Save the selected audio track language for each channel separately
Option name: save_audio_track_lang_per_channel, data type: bool.
Possible values:
- true in the application settings on the device, the user selected audio track language will be stored separately for each channel.
- falsely the last selected language common to all channels will be saved (by default).
Example:
var CLIENT_SETTINGS = {
///...
'save_audio_track_lang_per_channel': false
};
Automatically Hiding Menus When Playing Content
Option name: autohide_timer, data type: int.
Allows you to set a timeout (in minutes), after which the current screen will be hidden and open full-screen player, if at the moment there is a playback of some content.
By default 0 (hidden off).
Example:
var CLIENT_SETTINGS = {
///...
'autohide_timer': 2
};
Reproduction of streams-stubs for channels with locks
Option name: request_url_for_locked_channels, data type: bool.
Possible values:
- true - when starting the channel with a lock, an attempt is made to start a stream-stub and display a banner-stub, if the stream-stub for the channel is not set, an information pop-up is shown.
- falsely when you start the channel with locks, an information pop-up with a list of tariffs for connecting is shown (by default).
Example:
var CLIENT_SETTINGS = {
///...
'request_url_for_locked_channels': false
};
Setting a special ratio of screen sides when playing movies
Option name: set_default_aspect_ratio_for_vod, data type: bool.
Possible values:
- true after the inclusion of the playback of the film from the video library, the aspect ratio of 16×9 will be forcibly established.
- falsely - the aspect ratio selected earlier by the subscriber will be retained (by default).
Example:
var CLIENT_SETTINGS = {
///...
'set_default_aspect_ratio_for_vod': false
};
Display time of the beginning and end of the transfer in the infobar
Option name: infobar_time_display_mode, data type: string.
Allows you to change the option of displaying the time of the beginning and end of the transfer in the infobar in the archive mode or paused Live TV.
Possible values:
- by_epg time in the infobar is displayed according to the transmission program (by default).
- by_duration the start time of the transmission is set at 00:00, and the end time is set equal to the duration of the transmission.
Example:
var CLIENT_SETTINGS = {
///...
'infobar_time_display_mode': "by_epg"
};
Disabling channel autostart in the preview window when navigating the list
Option name: autoplay_tv_preview_channels, data type: bool.
Possible values:
- true when navigating in the list of channels (list mode only), the player in the preview window automatically begins to play after a small timeout (by default).
- falsely When navigating in the list of channels, the preview player does not start, instead, a preview of the current channel transfer is displayed in its place. This option value is recommended for low-performance devices for which the flow start operation in the preview window is too heavy to cause it so often.
Example:
var CLIENT_SETTINGS = {
///...
'autoplay_tv_preview_channels': true,
};
Buying content
Restricting access to content purchases by default
Option name: default_purchase_content_access_mode, data type: string.
Possible values:
- pin By default, the mode “Payment for content with a pin code” will be selected.
- allow – by default, the mode “Pay content without a pin code” will be selected (by default).
Example:
var CLIENT_SETTINGS = {
///...
'default_purchase_content_access_mode': "allow"
};
The ability to change the restriction of access to purchases of content in the settings menu
Option name: allow_to_change_access_restriction_for_purchase_content, data type: bool.
Possible values:
- true The Settings menu will display “Access to Purchases” and the user will be able to change these restrictions (by default).
- falsely the possibility of changing the restriction of access to content purchases is prohibited.
Example:
var CLIENT_SETTINGS = {
///...
'allow_to_change_access_restriction_for_purchase_content': true
};
Showing a QR code with a support number when buying a movie
Option name: use_video_purchase_via_sale_qr, bool data type.
Possible values:
- true When you click the “Buy” button on the film page, a pop window with a QR code will be shown, in which the technical support / sales department phone number will be sewn. The option is relevant if there is no integration with external billing for the purchase of films - in this case, the specialist includes access to the film manually on call.
- falsely The purchase of the film works on the internal mechanism of Smarty (by default).

Example:
var CLIENT_SETTINGS = {
///...
-use_video_purchase_via_sale_qr': false,
};
Appearances are common
Additional CSS class for body interface
Option name: custom, data type: string.
Allows you to connect an additional class to the body portal tag. It can be used to customize the interface through an additional CSS file.
No default.
Example:
var CLIENT_SETTINGS = {
///...
'custom_body_class': 'custom'
};
Types of films for the main screen
Option name: main_screen_tape_genres, data type: array.
In the option, you can prescribe genre identifiers, which can subsequently be selected by the user for display on the home screen (the maximum number of specified identifiers is 5). At the same time, the Favorites, Recent and Novelties tapes are available for selection in the settings, regardless of this option.
No default.

Example:
var CLIENT_SETTINGS = {
///...
'main_screen_tape_genres': [34, 36, 41]
};
Main menu items
Option name: custom_main_menu_items, data type: array.
The option sets the main menu items that you want to display, possible items:
- tv - Television channels
- vod - Cinema
- applications (quick button to enter the list of applications on Android devices)
- favorites (shows the category of selected films)
- search
- settings - settings
- archive - archive
No default.

Example:
var CLIENT_SETTINGS = {
// ..
'custom_main_menu_items': ['tv', 'vod', 'archive', 'search', 'settings', 'apps', 'favorites'],
};
Background image for the main screen
Option name: main_screen_banner, data type: string.
Allows you to change the background image of the main menu, an absolute reference to the desired background image should be transferred to the parameter (the aspect ratio 16x9, png).


Example:
var CLIENT_SETTINGS = {
// …
"main_screen_banner": "http://example.com/background.png"
};
Change the background image in the child profile
Option name: main_screen_banner_children_mode, data type: string.
Allows you to change the background image of the main menu with an active Child profile, an absolute reference to the desired background image should be transferred to the parameter (the aspect ratio 16x9, png).
Example:
var CLIENT_SETTINGS = {
// ..
"main_screen_banner_children_mode": "http://example.com/children-profile-background.png"
};

Subscriber information
Option name: abonement_info_in_header, data type: string.
Possible values:
ext_id- the subscriber id is displayed in the external billing (by default).firstname_lastnameThe name and surname of the subscriber is displayed (if the values are empty, then the account is displayed).contract- the subscriber's contract number is displayed (if the values are empty, then the account is displayed).abonement- the account is displayed.

var CLIENT_SETTINGS = {
///...
"abonement_info_in_header": "abonement"
};
Displaying subscriber balance on the main screen
Option name: show_customer_balance, data type: bool.
Possible values:
- true the main screen displays the current balance of the subscriber (by default).
- falsely the current subscriber balance will not be displayed on the main screen.
Example:
var CLIENT_SETTINGS = {
///...
'show_customer_balance': true
};

Display of the entered password on the authorization screen
Option name: show_see_password_button, data type: bool.
Possible values:
- true on the authorization screen will display the password button.
- falsely the password button will be hidden (by default).
Example:
var CLIENT_SETTINGS = {
// ..
'show_see_password_button': false
};


Appearance - TV
Mode of displaying the list of TV channels
Possible values:
- list - the usual list (by default).
- grid - tile.
This option sets the default mode of the TV Channels screen, but the user can change it for himself in the Settings screen.


Example:
var CLIENT_SETTINGS = {
///...
'tv_channels_list_mode': "list"
};
Limit the maximum length of the channel number
Option name: channel_number_max_length, data type: int. By default 3.
Set the maximum length of the channel number on the TV screen, as well as the maximum number of digits entered when calling the channel using the remote buttons.
Example:
var CLIENT_SETTINGS = {
///...
'channel_number_max_length': 3
};

Depth of TV program display
Option name: max_epg_depth, data type: int.
Determines the EPG depth in days for the TV screen. If the value of the option is greater than 0, the depth will be equal to this value. If the option is not set (or equal to 0), then the archive depth will be used for the channel with the archive max_archive_duration if the channel does not have an archive, the program will be displayed only for the current day. By default 0.
Example:
var CLIENT_SETTINGS = {
///...
'max_epg_depth': 0
};
Optimizing the loading of the channel list
Option name: channel_info_request_depth, data type: int.
Determines the portion size of channels for which you need to get more detailed information, by default 24. The loading volume is calculated by the formula: channel_info_request_depth * 2 + 1, i.e. downloaded information about the channel on which the focus and channel_info_request_depth the channels that exist before and after it. Warning: for the correct operation of the option, the Smarty version is not lower than 2.4.
Example:
var CLIENT_SETTINGS = {
// ..
'channel_info_request_depth': 24
};
Hiding the Zero Rating of TV Programs
Option name: epg_hide_zero_plus_rating, data type: bool.
Possible values:
- true The 0+ rating will be hidden (only for the visual display of the ranking itself, not the content). Removes this rating for sidebar player and TV category.
- falsely the 0+ rating will be displayed (by default).
Example:
var CLIENT_SETTINGS = {
///...
'epg_hide_zero_plus_rating': false
};
Appearance - video library
Screen "Filtration" in the video library
Option name show_filtering, data type: bool.
Possible values:
- falsely the filter screen in the video library is not available (by default).
- true the screen of film filtering in the video library becomes available.

Example:
var CLIENT_SETTINGS = {
///...
'show_filtering': true
};
Grouping of films by category or genre
Option name: filter_videos_by_genres, data type: bool.
Possible values:
- true movies will be grouped by genre (by default).
- falsely Films will be grouped into categories (genres in Smarty with the option “Is a Category” enabled).
Example:
var CLIENT_SETTINGS = {
///...
'filter_videos_by_genres': true
};
Display of the category "Premier" in the video library
Option name: show_vod_premieres, data type: bool.
Possible values:
- true In the list of categories of video library will display the category "Premier".
- falsely The “Premier” category will be hidden (by default).
Example:
var CLIENT_SETTINGS = {
///...
'show_vod_premieres': false
};

Display in the video library of films, the source of which is archival records
Option name: show_archive_in_vod_screen, data type: bool. To fill the video library with archival records, you need to use instruction. To work correctly, you will need posters 2:3 for archival films.
Possible values:
- true when a video list is requested, films from archival records will be transmitted.
- falsely when you request a video list, you will not transfer movies from archive records (by default).
Example:
var CLIENT_SETTINGS = {
// ..
'show_archive_in_vod_screen': false
};


How to sort movies by default
Option name: default_vod_sort_order, data type: string.
Possible values:
- - created_at - by the date of addition (first the newest) (by default).
- -kinopoisk_rating - according to the rating of Kinopoisk (first the most popular).
- -imdb_rating According to IMDB rating (first most popular).
- -year the year the film was released (the newest first).
- -premiere_date the release date of the film (the newest first).
- name by name (in alphabetical order).
- -updated_at - on the date of change of the film, first the newest (sort is updated after resetting the cache).
Example:
var CLIENT_SETTINGS = {
///...
'default_vod_sort_order': "-created_at"
};
Disabling the display of empty genres
Option name: vod_without_empty_genres, data type: bool.
Possible values:
- true - in the screens "Video" and "Archive" (in mode) archive_screen_mode: 'vod_pvr') will not display genres that no film corresponds to. The exceptions are the Favorites, Novelties and Viewed categories – they will be displayed if the relevant options are enabled and even if they are empty.
- falsely - in the screens "Video" and "Archive" (in mode) archive_screen_mode: 'vod_pvr'All genres created in the Smarty administrative panel (by default) will be displayed.
Example:
var CLIENT_SETTINGS = {
///...
-vod_without_empty_genres': true
};
Hiding sections with cinemas
Option name: show_video_providers_dashboard, data type: bool.
Possible values:
- true categories will display sections with cinemas (by default).
- falsely - the sections will be hidden.
Example:
var CLIENT_SETTINGS = {
///...
'show_video_providers_dashboard': true
};
Sorting the list of actors on the film page
Option name: actors, string data type.
Possible values:
- birthdate sorting by date of birth, from older to younger.
- birthdate sorting by date of birth, from younger to older.
- name sorting by name, in alphabetical order (by default).
- -name sorting by name, in reverse alphabetical order.
- cyrillic-first sorting by name, first come actors with cyrillic.
- film sorting actors by the number of films with their participation, in ascending order (from the actor with the least number of films to the actor with the most films).
- -film_count sorting actors by the number of films with their participation in descending order.
Example:
var CLIENT_SETTINGS = {
///...
-actors'name'
};
Sorting the list of films on the actor's description screen
Option name: actor_vod_sort_order, data type: string.
Possible values:
- name - by name, in alphabetical order (by default).
- -name by name, in reverse alphabetical order.
- id - by date of addition to the catalog, first the oldest.
- -id - by date of addition to the catalog, first the newest.
- created update, first the oldest.
- - created_at upgrade date, first the newest.
- premiere_date at the premiere date, first the oldest.
- -premiere_date at the premiere date, first the newest.
- year by the date of the film, first the oldest.
- -year by the date of the film, first the newest.
- average_customers_rating - according to the rating of subscribers, first the most unpopular.
- -average_customers_rating - according to the rating of subscribers, first the most popular.
- kinopoisk_rating According to the rating of the film, first the most unpopular.
- -kinopoisk_rating - according to the rating of the film, first the most popular.
- imdb_rating According to the IMDB rating, the most unpopular at first.
- -imdb_rating According to the IMDB rating, first the most popular.
- number_of_ratings - the number of estimates, at first less evaluated.
- -number_of_ratings by the number of estimates, first the most evaluated.
Example:
var CLIENT_SETTINGS = {
///...
'actor_vod_sort_order': '-kinopoisk_rating'
};
Limiting the number of actors on the film page
Option name: actors_request_limit, int data type. By default 16.
Example:
var CLIENT_SETTINGS = {
///...
-actors_request_limit': 16
};
Limiting the number of downloadable tapes on the screen of an external cinema
Option name: dashboard_load_portion, int data type.
At the opening of the external cinema, the specified number of tapes will be loaded. By default 4This means that after successfully downloading the first 4 tapes, they will be rendered, and the remaining tapes will continue to load as they navigate on the screen. The minimum value for this option is 2.
Example:
var CLIENT_SETTINGS = {
///...
'dashboard_load_portion': 4
};
Limiting the maximum number of tapes on the screen of an external cinema
Option name: selection_list_limitdata type: int, by default 10.
Example:
var CLIENT_SETTINGS = {
///...
'selection_list_limit': 4
};
Mechanics of generation of the film "Similar films"
Option name: similar_video_genre_limit, int data type. By default 3.
This option specifies the number of genres to use to search for similar films – for example, by default, films are considered similar if they have 3 genres.
Example:
var CLIENT_SETTINGS = {
///...
-similar_video_genre_limit': 3
};
Using methods without authorization in the sections of external video providers in the cinema
Option name: use_noauth_in_video_providers, data type: bool.
Responsible for methods that query the list and details of content selections from external providers.
Possible values:
- true external cinema categories will request methods that do not require user authorization.
- falsely standard methods are sent, which depend on the account authorization (by default).
Example:
var CLIENT_SETTINGS = {
// ..
'use_noauth_in_video_providers': true
};
Appearance - archive
Selection of the display mode of the "Archive" section
Option name: archive_screen_mode, data type: string.
Possible values:
- classic - the default value, the classic Archive mode with horizontal posters and truncated filtering functionality, selected and other.
- vod_pvr - mode of displaying the Archive as a cinema: with vertical posters and all the functionality of the "Kinosal" section.
Example:
var CLIENT_SETTINGS = {
// ..
'archive_screen_mode': "vod_pvr"
};


Appearance - settings
Selection of the interface used on the Settings page
Option name: show_change_template_settings, data type: bool.
Possible values:
- true – on the “Settings” page in the application, the “Selection of a template” item will be displayed. The list of templates for selection will be formed from the array prescribed in the option
available_templates. - falsely - the item "Select the template" on the settings page will be hidden (by default).
Example:
var CLIENT_SETTINGS = {
///...
'show_change_template_settings': true
};

Ability to change the interface language
Option name: show_change_lang_settings, data type: bool.
Possible values:
- true – on the “Settings” page in the application, the “Language/Language” option will be displayed (by default).
- falsely The “Language” item on the settings screen will be hidden.
Example:
var CLIENT_SETTINGS = {
///...
'show_change_lang_settings': true
};

Managing the display item "Player Selection" in the "Settings" screen
Option name: show_change_player_settings, data type: bool. Warning: this option is not compatible with default_player_solution.
Possible values:
- true on the “Settings” page inside the application, the “Select Player” option will be displayed for those devices that support it (currently these are Android devices within the build version above 2.0).
- falsely - the item "Select player" on the settings page will be hidden (by default).
Example:
var CLIENT_SETTINGS = {
///...
'show_change_player_settings': true
};


Managing the display of the item “Player Options” in the screen “Settings”
Option name: show_player_options, data type: bool. Note: show_change_player_settings higher priority show_player_options. I mean, if show_change_player_settings meaningfully falselythen show_player_options it is also defined as falsely.
Possible values:
- true on the Settings page inside the application, the option “Player Options” will be displayed for those devices that support it (currently these are Android devices in the build version above 2.0). The list of options depends on the selected player.
- falsely - the item "Player Options" on the settings page will be hidden (by default).
Example:
var CLIENT_SETTINGS = {
// ..
'show_player_options': true
};



Appearance is my profile
Display of the "Personal Cabinet" section in the personal account
Option name: show_personal_info, data type: bool.
Possible values:
- true - in the personal account there is a section "Personal account" with information about the subscriber.
- falsely in the personal account there is no section with information about the subscriber (by default).
Example:
var CLIENT_SETTINGS = {
///...
-show_personal_infofalse:
};


Possibility of replenishing the balance in the personal account
Option name: show_pay_menu, data type: bool.
Possible values:
- true - in the personal account will display the field for entering the amount and the "Pay" button. The Pay button in the profile screen will lead to the Stripe payment gateway form if it is supported by the device.
- falsely There is no field for entering the amount and the “Pay” button (by default).
Example:
var CLIENT_SETTINGS = {
// ..
'show_payment_menu': false
};

Displaying payment detailing
Option name: show_pay_detail_in_personal_info, data type: bool. Note: to show the details of payments option show_personal_info must be established in the meaning true.
Possible values:
- true in the personal account there is an opportunity to view the details of payments.
- falsely - the item will be hidden (by default).
Example:
var CLIENT_SETTINGS = {
// ..
'how_payment_detail_in_personal_info': true
};



Displaying the Messages menu
Option name: show_messages_menu, data type: bool.
Possible values:
- true In the screen “My profile” will display the item “Messages” (by default).
- falsely - the item "Messages" will be hidden.
Example:
var CLIENT_SETTINGS = {
///...
'show_messages_menu': true
};
Display of the menu item "Fare Management"
Option name: show_packages, data type: bool.
Possible values:
- true - on the "Settings" page in the application, the "Fare Management" item will be displayed for the possibility of connecting / disabling tariff packages.
- falsely - the item "Fare Management" on the settings screen will be hidden (by default).
Example:
var CLIENT_SETTINGS = {
///...
'show_packages': true
};

Displaying the "Legal Documents" menu
Option name: show_legal_documents, data type: bool.
Possible values:
- true - in the "Personal Account" screen, the "Legal Documents" menu item will be displayed for viewing their contents and acceptance.
- falsely The “Legal Documents” menu will be hidden (by default).
Example:
var CLIENT_SETTINGS = {
///...
'show_legal_documents': false
};

Display point and the possibility of changing the account
Option name: show_logout_option, data type: bool.
Possible values:
- true - in the personal account there is a item "Leave the account", the subscriber will be able to log out of his account and enter under another account.
- falsely the ability to log out will not be available (by default).
Example:
var CLIENT_SETTINGS = {
///...
'show_logout_option': true
};

Appearance - search
Deactivation of the voice recognition function on the device
Option name: disable_voice_control, data type: bool.
Possible values:
- true the voice control button on the device will be hidden.
- falsely the voice control button on the device will be available (by default).
Example:
var CLIENT_SETTINGS = {
// ..
'disable_voice_control': true
};



