{"id":989,"date":"2020-04-24T17:37:28","date_gmt":"2020-04-24T14:37:28","guid":{"rendered":"https:\/\/microimpuls.com\/docs\/smarty\/portal-and-apps-settings\/%d0%be%d0%bf%d1%86%d0%b8%d0%b8-%d0%bf%d0%be%d1%80%d1%82%d0%b0%d0%bb%d0%b0"},"modified":"2026-02-26T15:39:56","modified_gmt":"2026-02-26T12:39:56","slug":"portal-settings","status":"publish","type":"docs","link":"https:\/\/microimpuls.com\/en\/docs\/smarty\/portal-and-apps-settings\/portal-settings","title":{"rendered":"Portal options"},"content":{"rendered":"<p>This section describes options that affect all templates of TV applications. They allow you to change the appearance and behavior of the application, and are set in the configuration file <code>\/etc\/microimpuls\/portal\/client.js<\/code>. Options tagged <mark style=\"background-color:#fcb900\" class=\"has-inline-color\">#hardcoded<\/mark>It cannot be overridden through the Smarty admin.<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">Mandatory options<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Client ID<\/h4>\n\n\n\n<p>Option name: <code>client<\/code>, data type: int. <mark style=\"background-color:#fcb900\" class=\"has-inline-color\">#hardcoded<\/mark><\/p>\n\n\n\n<p>This option specifies the operator ID in Smarty (Client ID) and is used in API requests.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'client_id': 1\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">API<\/h4>\n\n\n\n<p>Option name: <code>api_key<\/code>, data type: string. <mark style=\"background-color:#fcb900\" class=\"has-inline-color\">#hardcoded<\/mark><\/p>\n\n\n\n<p>This option specifies the Key API (not to be confused with the Billing API Key) of the Smarty operator for this Client ID. Used in API requests.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'api_key': 'dmt6rH0qbDeGacPnUDDkVb8jafcqewKl'\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">API URL<\/h4>\n\n\n\n<p>Option name: <code>api_url<\/code>, data type: string. <mark style=\"background-color:#fcb900\" class=\"has-inline-color\">#hardcoded<\/mark><\/p>\n\n\n\n<p>Smarty server address. To circumvent the CORS policy (if the Smarty web server settings do not include permission headers), the server address may be specified relative to the portal domain it was downloaded from, for example, <code>\/api<\/code>If the settings of the web server determine the appropriate location, redirecting requests to Smarty.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'api_url': '\/api'\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">The used interface (template) of the portal by default<\/h4>\n\n\n\n<p>Option name: <code>template<\/code>, data type: string.<\/p>\n\n\n\n<p>The name of the pattern used by default. The list of available templates can be viewed in the templates portal folder. This value can be redefined in the device settings in Smarty, as well as in the account settings. Priority overriding in ascending order: client.js -&gt; device settings -&gt; account settings.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'template_name': 'futuristic'\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Interface screen sizes<\/h4>\n\n\n\n<p>Option name: <code>template_size<\/code>, data type: array. <mark style=\"background-color:#fcb900\" class=\"has-inline-color\">#hardcoded<\/mark><\/p>\n\n\n\n<p>List of available template resolutions. It is necessary to specify each separately coiled resolution if there is a corresponding style for the template in the specified resolution. For example, the classic template has a separate layout for resolutions 1280x720 and 720x576. For other templates, automatic scaling is used, so it is enough to specify only the standard resolution of 1280x720. For some Samsung Tizen TV, LG Smart TV and Android TV devices, specifying this option is mandatory, otherwise the interface may be displayed at the wrong scale.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'template_size':\n'default':\n'default': [1280, 720]\n}\n'futuristic':\n'default': [1280, 720]\n}\n'impuls':\n'default': [1280, 720]\n}\n'infinitly':\n'default': [1280, 720]\n}\n'classic':\n'default': [1280, 720]\n'720x576': [720, 576]\n}\n'iridium':\n'default': [1280, 720]\n}\n'focus':\n'default': [1280, 720]\n}\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">List of permitted interfaces<\/h4>\n\n\n\n<p>Option name: <code>available_templates<\/code>, data type: array. <mark style=\"background-color:#fcb900\" class=\"has-inline-color\">#hardcoded<\/mark><\/p>\n\n\n\n<p>Set a list of available templates to override from the server. Template specified in the mandatory parameter <code>template<\/code>It is not necessary to add to the list of available templates. If the server tries to identify a template for the device and \/ or account that is not in this list, the application will ignore this. By default <strong>[]<\/strong>.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'available_templates': ['impuls', 'futuristic', 'infinitly']\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Settings file name<\/h4>\n\n\n\n<p>Option name: <code>settings_filename<\/code>, data type: string. <mark style=\"background-color:#fcb900\" class=\"has-inline-color\">#hardcoded<\/mark><\/p>\n\n\n\n<p>File name to save local settings on the device. It is necessary to specify a unique name (for example, coinciding with the name of the provider in the broadcast), because this file saves including the login and password of the account. If for an already working service in the process of operation (or moving to another server) to change this name, the next time the device is turned on, the subscribers will have a logout. Default value <strong>example<\/strong>.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'settings_filename': 'mytelecom.dat'\n};<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Additional options<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Operator's website address<\/h4>\n\n\n\n<p>Option name: <code>site_url<\/code>, data type: string.<\/p>\n\n\n\n<p>It is used in service messages of the portal for the subscriber related to informing about technical problems and obtaining additional information, as well as in some templates it is displayed in the contact information block. Default value <strong>www.example.com<\/strong>. <\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n  \/\/ \u2026\n  'site_url': 'http:\/\/mytelecom.com'\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Frequency of requests to save television viewing<\/h4>\n\n\n\n<p>Option name: <code>push_stat_interval<\/code>, data type: int.<\/p>\n\n\n\n<p>The frequency of execution of requests to the Smarty server to save data about TV viewing is set in milliseconds. Do not use too small a value, however, the lower this value, the more accurate the data on browsing sessions and content rankings will be. Default value <strong>300000<\/strong> (5 minutes).<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'push_stat_interval': 300,000\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Frequency of requests to save viewing position<\/h4>\n\n\n\n<p>Option name: <code>content_position_set_interval<\/code>, data type: int.<\/p>\n\n\n\n<p>Frequency of requests to the Smarty server to save the current viewing position of the PVR and VOD content for the return function to the last saved viewing position. It's set in milliseconds. Default value <strong>30000<\/strong> (30 seconds).<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'content_position_set_interval': 30,000\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Frequency of account status requests<\/h4>\n\n\n\n<p>Option name: <code>account_status_interval<\/code>, data type: int.<\/p>\n\n\n\n<p>Allows you to set the custom value of the AccountStatus request intervals in the portal. When specifying a small value (&lt;60000), the check will be carried out with an interval of 1-2 minutes. It&#039;s set in milliseconds. Default value <strong>600000<\/strong> 10 minutes.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/ ...\n'account_status_interval': 60,000\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Default hourly correction shift<\/h4>\n\n\n\n<p>Option name: <code>default<\/code>, data type: int. <\/p>\n\n\n\n<p>The displayed time in the portal is calculated using the following algorithm:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>From the Smarty server, the portal takes time to UTC+0. This time is used for all calculations and for EPG.<\/li>\n\n\n\n<li>The local time zone is determined according to the time settings on the device.<\/li>\n\n\n\n<li>The correction hour shift specified by the user in the application settings is determined. Default equals <code>default<\/code>.<\/li>\n\n\n\n<li>A local time zone and an adjustment hour shift are added to the time from the server, thus calculating the local displayed time.<\/li>\n<\/ol>\n\n\n\n<p>As the value of this option, you must specify a value in the range from 0 (which corresponds to the shift -12) to 24 (+12). This value will be used by default to set the \u00abHour Shift\u00bb set to users in the application settings. By default <strong>12<\/strong> (corresponds to +0). With the correct operation of time on the device and the correct NTP settings, you do not need to use the corrective shift, but with the help of it, the user can adjust the time in the application himself.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'default_timezone': 12\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Disabling the time zone of the device<\/h4>\n\n\n\n<p>Option name: <code>ignore_device_timezone<\/code>, data type: bool.<\/p>\n\n\n\n<p>The option makes sense and works only at a given value <code>default<\/code>. If both of these options are enabled, the time zone is considered GMT+0+ for displaying time on the device <code>default<\/code>. Options do not affect the time itself, as it comes from the server. Default option value \u2014 <strong>falsely<\/strong>.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'ignore_device_timezone': true\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Default buffer size<\/h4>\n\n\n\n<p>Option name: <code>default_buffersize<\/code>, data type: int.<\/p>\n\n\n\n<p>Setting value \u00ab Buffer size\u00bb by default, set by the user in the application settings. Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>0<\/strong> \u2014 automatically (by default).<\/li>\n\n\n\n<li><strong>1<\/strong> \u2014 no buffering.<\/li>\n\n\n\n<li><strong>2<\/strong> \u2014 small buffer size.<\/li>\n\n\n\n<li><strong>3<\/strong> \u2014 average buffer size.<\/li>\n\n\n\n<li><strong>4<\/strong> \u2014 large buffer size.<\/li>\n\n\n\n<li><strong>5<\/strong> \u2014 very large buffer size.<\/li>\n<\/ul>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'default_buffersize': 0\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Default interface language<\/h4>\n\n\n\n<p>Option name: <code>default_lang<\/code>, data type: int.<\/p>\n\n\n\n<p>The default value of the \u201cInterface Language\u201d setting set by the user in the application settings. It is necessary to specify an index (starting with 0) of the language from the list of languages that are supported by a specific template. By default <strong>0<\/strong> \u2014 the first language on the list.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'default_lang': 0\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Disabling the system language of the device<\/h4>\n\n\n\n<p>Option name: <code>ignore_system_lang<\/code>, data type: bool.<\/p>\n\n\n\n<p>The option allows you to disable the effect of the system language on the application language by default. At the moment, the system language is installed for the application only on TVs and STB under Android OS. Default option value: false.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'ignore_system_lang': true,\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">System debugging console<\/h4>\n\n\n\n<p>Option name: <code>system_debug<\/code>, data type: bool. <mark style=\"background-color:#fcb900\" class=\"has-inline-color\">#hardcoded<\/mark><\/p>\n\n\n\n<p>Includes a display of the portal system console, which displays additional service information for debugging.<\/p>\n\n\n\n<p>Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>true<\/strong> \u2014 the console is displayed.<\/li>\n\n\n\n<li><strong>falsely<\/strong> \u2014 the console is not displayed (by default).<\/li>\n<\/ul>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'system_debug': true\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Display of service error reports<\/h4>\n\n\n\n<p>Option name: <code>user_debug<\/code>, data type: bool. <mark style=\"background-color:#fcb900\" class=\"has-inline-color\">#hardcoded<\/mark><\/p>\n\n\n\n<p>It includes displaying messages to the subscriber about various service errors that occurred during the operation of the portal (including, for example, communication errors with the Middleware server). It is currently supported only in futuristic and infinitly templates.<\/p>\n\n\n\n<p>Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>true<\/strong> \u2014 errors are displayed.<\/li>\n\n\n\n<li><strong>falsely<\/strong> \u2014 errors are not displayed (by default).<\/li>\n<\/ul>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'user_debug': false\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">The mode of processing the button off the console<\/h4>\n\n\n\n<p>Option name: <code>handle_key_power_by_device<\/code>, data type: bool.<\/p>\n\n\n\n<p>Flag for selecting the processing of the console switch off button. It is supported only on WRT consoles.<\/p>\n\n\n\n<p>Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>true<\/strong> \u2014 processing at the prefix level.<\/li>\n\n\n\n<li><strong>falsely<\/strong> \u2014 portal-level processing (by default).<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'handle_key_power_by_device': false\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Model identification of the device<\/h4>\n\n\n\n<p>Option name: <code>send_device_model_in_request_parameters<\/code>, data type: bool. <mark style=\"background-color:#fcb900\" class=\"has-inline-color\">#hardcoded<\/mark><\/p>\n\n\n\n<p>Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>true<\/strong> \u2014 to the Middleware server as a device parameter will be sent to the device type and model, connected with the underline, for example: <em>android_stb_redbox<\/em> (by default).<\/li>\n\n\n\n<li><strong>falsely<\/strong> \u2014 only the type of device will be sent, for example <em>android_stb<\/em>.<\/li>\n<\/ul>\n\n\n\n<p>Meaning <strong>true<\/strong> if the server fails to identify the device, it is repeated in the mode <strong>falsely<\/strong>.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'send_device_model_in_request_parameters': true\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Numbering of channels starting from 0<\/h4>\n\n\n\n<p>Option name: <code>start_channel_numbers_from_zero<\/code>, data type: bool.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>true<\/strong> \u2014 channel numbers start with 0.<\/li>\n\n\n\n<li><strong>falsely<\/strong> \u2014 channel numbers start with 1 (by default).<\/li>\n<\/ul>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'begin_channel_numbers_from_zero': false\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Solution for the default MAG player<\/h4>\n\n\n\n<p>Option name: <code>default_player_solution_for_mag<\/code>, data type: string.<\/p>\n\n\n\n<p>\u0414\u043b\u044f \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0438 MAG \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0442\u0438\u043f solution, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0444\u043e\u0440\u043c\u0430\u0442 \u043f\u043e\u0442\u043e\u043a\u0430 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0442\u0438\u043f \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 (\u0441\u043c. \u0441\u043f\u0438\u0441\u043e\u043a http:\/\/soft.infomir.com\/stbapi\/JS\/v343\/tutorial-media-formats.html). \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e <strong>automate<\/strong>.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'default_player_solution_for_mag': 'ffrt2'\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Solution for MAG player to play HLS by default<\/h4>\n\n\n\n<p>Option name: <code>hls_player_solution_for_mag<\/code>, data type: string.<\/p>\n\n\n\n<p>For the MAG prefix, the solution type is set, which will be used if the flow format is \u2014 HLS (link has the extension .m3u8). The content format type should be the value (see http:\/\/soft.infomir.com\/stbapi\/JS\/v343\/tutorial-media-formats.html list). By default <strong>ffrt2<\/strong>.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'hls_player_solution_for_mag': 'ffrt2'\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Player for Android STB\/TV by default<\/h4>\n\n\n\n<p>Option name: <code>default_player_solution<\/code>, data type: string.<\/p>\n\n\n\n<p>For consoles and TVs under OS Android \/ Android TV set the type of player that will be used by default. When you set this option, the ability to select a player from the screen \u00abSettings\u00bb will not be available. By default <strong>blank-line<\/strong>.<\/p>\n\n\n\n<p>Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>native<\/strong> \u2014 system standard device player. <\/li>\n\n\n\n<li><strong>exoplayer<\/strong> \u2014 Exoplayer.<\/li>\n\n\n\n<li><strong>vlc_default<\/strong> \u2014 VLC player.<\/li>\n\n\n\n<li><strong>vlc_mediacodec<\/strong> \u2014 VLC player with exposed parameter <code>mediacode<\/code>.<\/li>\n<\/ul>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'default_player_solution': 'exoplayer'\n};<\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>The choice of player on devices under OS Android \/ Android TV is available only in builds version 2.0 and higher.<\/p>\n<\/blockquote>\n\n\n\n<h4 class=\"wp-block-heading\">Using shaka-player for devices with vewd type<\/h4>\n\n\n\n<p>Option name: <code>prefer_shaka_player<\/code>, data type: bool.<\/p>\n\n\n\n<p>Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>true<\/strong> \u2014 streams on devices with vewd type (Philips, Hisense, etc.) will be played through shaka-player, if errors occur, a return to the native player will occur.<\/li>\n\n\n\n<li><strong>falsely<\/strong> \u2014 threads will always play through the native player (by default).<\/li>\n<\/ul>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {<br>  \/\/ ..<br>  'prefer_shaka_player': true<br>};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Waiting for a response from the Middleware server<\/h4>\n\n\n\n<p>Option name: <code>requests_timeout_timeout<\/code>, data type: int.<\/p>\n\n\n\n<p>Sets for HTTP requests a waiting time for a response from the server, after which the request will be interrupted by the client. It's set in milliseconds. By default <strong>10000<\/strong>. The value can be increased when the communication network between the user and the server is unstable. For example, if some data in the interface does not load within 10 seconds, then you should try to increase this parameter (and, of course, try to fix network problems first).<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'requests_timeout_time': 10,000\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">UID generation method on Android STB and Android TV<\/h4>\n\n\n\n<p>Option name: <code>android_uid_generation_method<\/code>, data type: string. <mark style=\"background-color:#fcb900\" class=\"has-inline-color\">#hardcoded<\/mark><\/p>\n\n\n\n<p>A field that allows you to redefine the method of generating UID for Android devices.<\/p>\n\n\n\n<p>Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>default<\/strong> \u2014 a value from the standard generation method is used, to which the UID generation date is added through the underline if the device does not give any unique value (by default).<\/li>\n\n\n\n<li><strong>mac<\/strong> \u2014 the MAC address is always returned as the UID.<\/li>\n\n\n\n<li><strong>serial<\/strong> \u2014 the serial number is always returned as the UID.<\/li>\n\n\n\n<li><strong>mac_serial<\/strong> \u2014 as UID always returns a combination of MAC address and serial number, separated by the bottom underline. <\/li>\n<\/ul>\n\n\n\n<p>This option must be registered in client.js for its correct operation.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'android_uid_generation_method': 'default'\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">UID generation method on other devices (Tizen TV)<\/h4>\n\n\n\n<p>Option name: <code>uid_generation_method<\/code>, data type: string.<\/p>\n\n\n\n<p>A field that allows you to redefine the method of generating UID for devices (currently supported only for Tizen TV).<\/p>\n\n\n\n<p>Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>default<\/strong> \u2014 the standard generation method is used (by default).<\/li>\n\n\n\n<li><strong>mac<\/strong> \u2014 the MAC address is always returned as the UID.<\/li>\n<\/ul>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'uid_generation_method': 'default'\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Replace https with http in the thread URL<\/h4>\n\n\n\n<p>Option name: <code>https_stream_url_replace_enable<\/code>, data type: bool.<\/p>\n\n\n\n<p>It is recommended to play external theaters on LG Netcast, MAG and Android STB devices.<br>Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>true<\/strong> \u2014 https will be replaced with http in the stream URL before playing the content.<\/li>\n\n\n\n<li><strong>falsely<\/strong> \u2014 https is not replaced by http in the URL (by default).<\/li>\n<\/ul>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {<br>  \/\/ ..<br>  'https_stream_url_replace_enable': false<br>};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Replace https with http in thread URL (Samsung)<\/h4>\n\n\n\n<p>Option name: <code>samsung_smart_tv_https_stream_url_replace<\/code>, data type: bool.<\/p>\n\n\n\n<p>Recommended for Samsung Smart TV devices to play streams of external theaters.<br>Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>true<\/strong> \u2014 https will be replaced with http in the stream URL before playing the content.<\/li>\n\n\n\n<li><strong>falsely<\/strong> \u2014 https is not replaced by http in the URL (by default).<\/li>\n<\/ul>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'samsung_smart_tv_https_stream_url_replace': false\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Duration of the promotional period after registration<\/h4>\n\n\n\n<p>Option name:&nbsp;<code>signup_auto_activation_period<\/code>, data type: int.<\/p>\n\n\n\n<p>Allows you to set the number of days for which free access will be issued for the initial use of the account after registration. Default 0.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'signup_auto_activation_period': 7\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Authorization and registration directly through third-party billing<\/h4>\n\n\n\n<p>Option name: <code>use_external_api_for_registration_and_login<\/code>, bool data type.<\/p>\n\n\n\n<p>When setting this field to the true state, registration and authorization occurs directly through external billing, this is required for some types of close integration. We do not recommend setting this field yourself without an explicit recommendation from our developers. By default <strong>falsely<\/strong>.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'use_external_api_for_registration_and_login': true\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Method of confirming the phone number during registration<\/h4>\n\n\n\n<p>Option name: <code>phone_confirmation_type<\/code>, data type: string.<\/p>\n\n\n\n<p>Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>blank-line<\/strong> \u2014 confirmation method not specified, number confirmation disabled (default value).<\/li>\n\n\n\n<li><strong>text<\/strong> \u2014 phone number is confirmed by SMS (SMS gateway setting is required).<\/li>\n\n\n\n<li><strong>call<\/strong> \u2014 phone number is confirmed by call (it is necessary to configure the appropriate gateway for calls).<\/li>\n<\/ul>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n-<meta charset=\"utf-8\"><code>phone_confirmation_type<\/code>'sms'\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Server URL with images and static resources<\/h4>\n\n\n\n<p>Option name: <code>media_base_url<\/code>, data type: string.<\/p>\n\n\n\n<p>A full URL that is used as a basic path to images and static resources, such as posters from EPG. Default \u2014 empty line (in this case, the path coincides with the Smarty address).<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'media_base_url':'\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Update interval of the transmission program if it is not on the server<\/h4>\n\n\n\n<p>Option name: <code>channel_programs_update_interval_for_channels_with_empty_epg<\/code>, data type: string.<\/p>\n\n\n\n<p>The application requests an up-to-date transmission program for the channel list as current transmissions on the channels end. But there are situations when the server does not have a downloaded transmission program, in which case the application recites it much less often (by default \u2014 every 90 minutes). This option allows you to reduce or increase the request period for the transmission program for this case.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'channel_programs_update_interval_for_channels_with_empty_epg': 5400,\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Request a list of programs with a compact flag<\/h4>\n\n\n\n<p>Option name: <code>use_compact_program_category_channel_list<\/code>, bool data type.<\/p>\n\n\n\n<p>Additional fields will be excluded from the server response, such as information about the next transmission. In the futuristic template, when this option is enabled, the second line will be hidden with transmission in the channel list in the normal list mode.<br>Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>true<\/strong> \u2014 ProgramCategoryChannelList queries will add the option \u00abcompact\u00bb (to reduce response size).<\/li>\n\n\n\n<li><strong>falsely<\/strong> \u2014 parameter \u00abcompact\u00bb will not be added (by default).<\/li>\n<\/ul>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {<br>  \/\/ ..<br>  'use_compact_program_category_channel_list': true<br>};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Request a list of programs with the wrt_compact flag<\/h4>\n\n\n\n<p>Option name: <code>use_wrt_compact_program_category_channel_list<\/code>, bool data type.<\/p>\n\n\n\n<p>Additional fields will be excluded from the server response, there is a brief information about the next transfer. <strong>Warning:<\/strong>&nbsp;this option is not compatible with <a href=\"https:\/\/microimpuls.com\/en\/docs\/smarty\/portal-and-apps-settings\/portal-settings\/#%D0%B7%D0%B0%D0%BF%D1%80%D0%BE%D1%81-%D1%81%D0%BF%D0%B8%D1%81%D0%BA%D0%B0-%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC-%D1%81-%D1%84%D0%BB%D0%B0%D0%B3%D0%BE%D0%BC-compact\">use_compact_program_category_channel_list<\/a>. If both options are enabled, only \u00abcompact\u00bb is added to the request <code>use_compact_program_category_channel_list<\/code>.<\/p>\n\n\n\n<p>Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>true<\/strong> \u2014 ProgramCategoryChannelList will add the option \u00abwrt_compact\u00bb (to reduce response size).<\/li>\n\n\n\n<li><strong>falsely<\/strong> \u2014 parameter \u00abwrt_compact\u00bb will not be added (by default).<\/li>\n<\/ul>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {<br>  \/\/ ..<br>  'use_wrt_compact_program_category_channel_list': true<br>};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Flag including special behavior for Flussonic<\/h4>\n\n\n\n<p>Option name: <code>stream_type<\/code>, data type: string.<\/p>\n\n\n\n<p>In the release 22.04 colleagues from Flussonic made some changes in the formation of HLS playlists, in connection with which some players when working with archival links of the format <code>https:\/\/pvr.example.com\/$prefix\/archive-$flpbt-$flpdur.m3u8<\/code> behaving incorrectly when rewinding from Live &amp; #8212 began with the current Live position, not the one that was rewinded.<\/p>\n\n\n\n<p>To properly handle the new playlist behavior, we have added this new option <code>'streamer_type': 'flussonic'<\/code>, which, when rewinding back from Live, forcibly rewinds to the first stream segment.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'streamer_type': 'flussonic'\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Redefinition of channel numbers by LCN values<\/h4>\n\n\n\n<p>Option name: <code>override_channel_list_number_by_lcn<\/code>, bool data type.<\/p>\n\n\n\n<p>Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>true<\/strong> \u2014 in the interface, instead of channel numbers, their LCN values are displayed (by default).<\/li>\n\n\n\n<li><strong>falsely<\/strong> \u2014 the interface displays channel numbers.<\/li>\n<\/ul>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'override_channel_list_number_by_lcn': false\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Requesting PIN when trying to launch a movie\/series with an age rating of 18+<\/h4>\n\n\n\n<p>Option name: <code>set_parent_control_for_adult_rated_videos<\/code>, data type: bool.<\/p>\n\n\n\n<p>Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>true<\/strong> \u2014 when trying to run a film\/series with an age rating of 18+, a PIN code will be requested.<\/li>\n\n\n\n<li><strong>falsely<\/strong> \u2014 function disabled (by default).<\/li>\n<\/ul>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n-<code><code>set_parent_control_for_adult_rated_videos<\/code><\/code>': true\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Disabling sending logs about playback errors to the server<\/h4>\n\n\n\n<p>Option name <code>send_portal_logs_to_server<\/code>, data type: bool.<\/p>\n\n\n\n<p>Possible values:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>true<\/strong> \u2014 to the server, to the file <code>\/var\/log\/microimpuls\/smarty\/smarty_portal.log<\/code> errors of stream reproduction on devices will be sent <code>android_stb<\/code>.<\/li>\n\n\n\n<li><strong>falsely<\/strong> \u2014 function disabled (by default).<\/li>\n<\/ul>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n-<code>send_portal_logs_to_server<\/code>': true\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Maximum time to block request after 500th error<\/h4>\n\n\n\n<p>Option name <code>max_retry_delay_for_internal_server_error<\/code>, data type: int.<\/p>\n\n\n\n<p>If the application receives a 500 error in response from the server, it will stop contacting it for a while (minimizing the load on the server in emergency situations). This option sets the maximum waiting time for the application until the next attempt to access the server. Default value: <strong>3600<\/strong>it's set in seconds.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'max_retry_delay_for_internal_server_error': 3600\n};<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">List of intervals to re-query after receiving 500th error<\/h4>\n\n\n\n<p>Option name <code>retry_delay_sequence_for_internal_server_error<\/code>, data type: list.<\/p>\n\n\n\n<p>If the application receives a 500 error in response from the server, it will stop contacting it for a while (minimizing the load on the server in emergency situations). This option sets a list of intervals in seconds, after which the application will try to re-refer to the method with an error of 500.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">var CLIENT_SETTINGS = {\n\/\/\/...\n'retry_delay_sequence_for_internal_server_error': [60, 120, 180, 300, 600, 900, 1800, 3600]\n};<\/pre>","protected":false},"featured_media":0,"parent":628,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_links_to":"","_links_to_target":""},"doc_tag":[],"class_list":["post-989","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u041e\u043f\u0446\u0438\u0438 \u043f\u043e\u0440\u0442\u0430\u043b\u0430<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/microimpuls.com\/en\/docs\/smarty\/portal-and-apps-settings\/portal-settings\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u041e\u043f\u0446\u0438\u0438 \u043f\u043e\u0440\u0442\u0430\u043b\u0430\" \/>\n<meta property=\"og:description\" content=\"\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043e\u043f\u0446\u0438\u0438, \u0438\u043c\u0435\u044e\u0449\u0438\u0435 \u0432\u043b\u0438\u044f\u043d\u0438\u0435 \u0441\u0440\u0430\u0437\u0443 \u043d\u0430 \u0432\u0441\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u0422\u0412-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u041e\u043d\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 \u0438 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0438 \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u0444\u0430\u0439\u043b\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \/etc\/microimpuls\/portal\/client.js. \u041e\u043f\u0446\u0438\u0438, \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u0442\u0435\u0433\u043e\u043c #hardcoded, \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0430\u0434\u043c\u0438\u043d\u043a\u0443 Smarty. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0446\u0438\u0438 Client ID \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043e\u043f\u0446\u0438\u0438: client_id, \u0442\u0438\u043f \u0434\u0430\u043d\u043d\u044b\u0445: int. #hardcoded \u0412 \u044d\u0442\u043e\u0439 \u043e\u043f\u0446\u0438\u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f ID \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u0432 Smarty (Client [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/microimpuls.com\/en\/docs\/smarty\/portal-and-apps-settings\/portal-settings\/\" \/>\n<meta property=\"og:site_name\" content=\"Microimpuls\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T12:39:56+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/portal-and-apps-settings\/portal-settings\",\"url\":\"https:\/\/microimpuls.com\/docs\/smarty\/portal-and-apps-settings\/portal-settings\",\"name\":\"\u041e\u043f\u0446\u0438\u0438 \u043f\u043e\u0440\u0442\u0430\u043b\u0430\",\"isPartOf\":{\"@id\":\"https:\/\/micro.im\/#website\"},\"datePublished\":\"2020-04-24T14:37:28+00:00\",\"dateModified\":\"2026-02-26T12:39:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/portal-and-apps-settings\/portal-settings#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/microimpuls.com\/docs\/smarty\/portal-and-apps-settings\/portal-settings\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/portal-and-apps-settings\/portal-settings#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/micro.im\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Smarty\",\"item\":\"https:\/\/microimpuls.com\/docs\/smarty\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e\u0440\u0442\u0430\u043b\u043e\u0432 \u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439\",\"item\":\"https:\/\/microimpuls.com\/docs\/smarty\/portal-and-apps-settings\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"\u041e\u043f\u0446\u0438\u0438 \u043f\u043e\u0440\u0442\u0430\u043b\u0430\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/micro.im\/#website\",\"url\":\"https:\/\/micro.im\/\",\"name\":\"Microimpuls\",\"description\":\"\u041a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f OTT \u0438 IPTV\",\"publisher\":{\"@id\":\"https:\/\/micro.im\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/micro.im\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/micro.im\/#organization\",\"name\":\"Microimpuls\",\"url\":\"https:\/\/micro.im\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/micro.im\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png\",\"contentUrl\":\"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png\",\"width\":208,\"height\":219,\"caption\":\"Microimpuls\"},\"image\":{\"@id\":\"https:\/\/micro.im\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Portal options","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/microimpuls.com\/en\/docs\/smarty\/portal-and-apps-settings\/portal-settings\/","og_locale":"en_US","og_type":"article","og_title":"\u041e\u043f\u0446\u0438\u0438 \u043f\u043e\u0440\u0442\u0430\u043b\u0430","og_description":"\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043e\u043f\u0446\u0438\u0438, \u0438\u043c\u0435\u044e\u0449\u0438\u0435 \u0432\u043b\u0438\u044f\u043d\u0438\u0435 \u0441\u0440\u0430\u0437\u0443 \u043d\u0430 \u0432\u0441\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u0422\u0412-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u041e\u043d\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 \u0438 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0438 \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u0444\u0430\u0439\u043b\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \/etc\/microimpuls\/portal\/client.js. \u041e\u043f\u0446\u0438\u0438, \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u0442\u0435\u0433\u043e\u043c #hardcoded, \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0430\u0434\u043c\u0438\u043d\u043a\u0443 Smarty. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0446\u0438\u0438 Client ID \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043e\u043f\u0446\u0438\u0438: client_id, \u0442\u0438\u043f \u0434\u0430\u043d\u043d\u044b\u0445: int. #hardcoded \u0412 \u044d\u0442\u043e\u0439 \u043e\u043f\u0446\u0438\u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f ID \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u0432 Smarty (Client [&hellip;]","og_url":"https:\/\/microimpuls.com\/en\/docs\/smarty\/portal-and-apps-settings\/portal-settings\/","og_site_name":"Microimpuls","article_modified_time":"2026-02-26T12:39:56+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/microimpuls.com\/docs\/smarty\/portal-and-apps-settings\/portal-settings","url":"https:\/\/microimpuls.com\/docs\/smarty\/portal-and-apps-settings\/portal-settings","name":"Portal options","isPartOf":{"@id":"https:\/\/micro.im\/#website"},"datePublished":"2020-04-24T14:37:28+00:00","dateModified":"2026-02-26T12:39:56+00:00","breadcrumb":{"@id":"https:\/\/microimpuls.com\/docs\/smarty\/portal-and-apps-settings\/portal-settings#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/microimpuls.com\/docs\/smarty\/portal-and-apps-settings\/portal-settings"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/microimpuls.com\/docs\/smarty\/portal-and-apps-settings\/portal-settings#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/micro.im\/"},{"@type":"ListItem","position":2,"name":"Smarty","item":"https:\/\/microimpuls.com\/docs\/smarty"},{"@type":"ListItem","position":3,"name":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e\u0440\u0442\u0430\u043b\u043e\u0432 \u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439","item":"https:\/\/microimpuls.com\/docs\/smarty\/portal-and-apps-settings"},{"@type":"ListItem","position":4,"name":"\u041e\u043f\u0446\u0438\u0438 \u043f\u043e\u0440\u0442\u0430\u043b\u0430"}]},{"@type":"WebSite","@id":"https:\/\/micro.im\/#website","url":"https:\/\/micro.im\/","name":"Microimpulses","description":"Comprehensive solutions for OTT and IPTV","publisher":{"@id":"https:\/\/micro.im\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/micro.im\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/micro.im\/#organization","name":"Microimpulses","url":"https:\/\/micro.im\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/micro.im\/#\/schema\/logo\/image\/","url":"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png","contentUrl":"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png","width":208,"height":219,"caption":"Microimpuls"},"image":{"@id":"https:\/\/micro.im\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/comments?post=989"}],"version-history":[{"count":50,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/989\/revisions"}],"predecessor-version":[{"id":9148,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/989\/revisions\/9148"}],"up":[{"embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/628"}],"next":[{"title":"Options for the titanium interface","link":"https:\/\/microimpuls.com\/en\/docs\/smarty\/portal-and-apps-settings\/titanium-config","href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/8702"}],"prev":[{"title":"Application configuration methods","link":"https:\/\/microimpuls.com\/en\/docs\/smarty\/portal-and-apps-settings\/portal-config-methods","href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/8643"}],"wp:attachment":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/media?parent=989"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/doc_tag?post=989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}