Configuration reference
Configuration files are used to adjust the MinistraPRO administrator panel and the MinistraPRO end-user applications.
Information
You do not need to change anything in the configuration files as part of setting up MinistraPRO. The mandatory configuration files are configured for you.
Configuration file directories
Configuration files are stored in two directories:
-
/var/www/ministra_middleware/conf.d/default/
The configuration files that are provided by default. You must not change these files.
-
/var/www/ministra_middleware/conf.d/custom/
The configuration files in this directory override the settings in the default configuration files. The files here do not need to contain all of the available settings, only the settings that need to be overridden.
Mandatory configuration files
The settings in the following configuration files must be correctly set in order for MinistraPRO to work correctly:
-
database.ini
-
clickhouse.ini
-
cache.ini
-
global_search.ini
-
operator.ini
Summary of configuration files
File name |
Description |
---|---|
database.ini |
Configuration settings for the connection to the MySQL database, the main data storage for the system. |
clickhouse.ini |
Configuration settings for the connection to the ClickHouse database, used to store logs. |
cache.ini |
Configuration settings for the connection to the Redis database, used to store frequently used data, or data with a limited lifetime. |
global_search.ini |
Configuration settings for the connection to the ElasticSearch database, used to store search indexes of IPTV Internet protocol television channels and VOD Video on demand. |
operator.ini |
Unique credentials for each operator. These credentials are used for external control of the service. |
billing.ini |
The settings in billing.ini configure the behaviour of service packages. |
l18n.ini |
The settings in l18n.ini define localisation behaviour, including:
|
locales.ini |
The settings in locale.ini define allowed locales. Locales are generated on the server but can also be set in the configuration file. |
monitoring_server.ini |
The settings in monitoring_server.ini configure collected metrics and the connection to the monitoring server. Prometheus Monitoring is used. Information The following cron tasks are used to retrieve metrics:
|
playback.ini |
The settings in playback.ini configure the behaviour of playback in the MinistraPRO end-user applications. |
playback_session.ini |
The settings in playback_session.ini configure the behaviour of playback sessions in the MinistraPRO end-user applications. |
server_api.ini |
The settings in server_api.ini configure the Billing API. Tip You can access the Billing API documentation at the following URL:
For example: |
statistic.ini |
The settings in statistic.ini contol the collection of playback statistics for IPTV Internet protocol television channels from the MinistraPRO end-user applications. |
system.ini |
The settings in system.ini configure the behaviour of the MinistraPRO administrator panel. |
tv.ini |
The settings in tv.ini configure the behaviour of IPTV Internet protocol television features. |
tv_archive.ini |
The settings in tv_archive.ini configure the behaviour of DVR Digital video recording features. |
vod.ini |
The settings in vod.ini configure the behaviour of VOD Video on demand features. |
otp_auth_phone.ini |
The settings in otp_auth_phone.ini control the behaviour of one time password (OTP) authorization. |
screen.ini |
The settings in screen.ini configure the connection to the Elasticsearch database, and for naming screens and sections. |
billing.ini
The settings in billing.ini configure the behaviour of service packages.
Setting |
Description |
---|---|
option_services[] |
Defines the options that are available to add to service packages. |
order_itv_channel_as_adding |
Defines the ordering of channels in service packages when channels are added. This setting is ignored unless If If |
keep_order_itv_channel_in_service_package |
Defines the ordering of channels within service packages. If If |
playback.ini
The settings in playback.ini configure the behaviour of playback in the MinistraPRO end-user applications.
Setting |
Description |
---|---|
enable_playback_limit |
Defines the device inactivity time (in seconds) after which playback is stopped in the MinistraPRO end-user applications. To disable the playback limit, set to |
playback_session.ini
The settings in playback_session.ini configure the behaviour of playback sessions in the MinistraPRO end-user applications.
Setting |
Description |
---|---|
playback_session_enabled |
Defines the maximum number of playback sessions an account can stream at the same time. To enable playback session limitations, set to To disable playback session limitations, set to |
playback_session_auth_lifetime |
Defines the amount of time (in seconds) a session is classed as active on a device, and no additional session requests are made. The default value is 36000 seconds. Any attempt to reopen a banned session during this time period is rejected by the Flussonic server. |
system.ini
The settings in system.ini configure the behaviour of the MinistraPRO administrator panel.
Setting |
Description |
---|---|
portal_url |
Defines the URL path to your MinistraPRO administrator panel. |
screenshots_url |
Defines the URL path to uploaded screenshots, relative to your MinistraPRO administrator panel. |
screenshots_path |
Defines the directory used to store screenshots, relative to the MinistraPRO backend installation. |
public_dir_path |
Defines the directory used to store public files, relative to the MinistraPRO backend installation. |
launcher_apps_path |
Defines the directory for MinistraPRO end-user application launchers, relative to the MinistraPRO backend installation. |
npm_registry |
Defines the NPM registry of NPM packages for the Linux STB Set-top box MinistraPRO end-user applications. |
display_menu_after_loading |
Defines the startup behaviour for new users. If If Information Users who have already launched the MinistraPRO end-user application need to change this setting manually, in their MinistraPRO end-user application in . |
update_url |
Defines the URL of the firmware location for Infomir Linux STB Set-top box updates. |
watchdog_timeout |
Defines the timeout (in seconds) of the ping requests from the MinistraPRO end-user applications to the MinistraPRO backend. |
refresh_token_lifetime |
Defines the lifetime (in seconds) of an authorization refresh token (OAuth2) for MinistraPRO end-user applications. |
access_token_lifetime |
Defines the lifetime (in seconds) of an authorization access token (OAuth2) for MinistraPRO end-user applications. |
enable_device_auth_logger |
If |
ministra_enable_log |
If |
admin_panel_debug |
If |
admin_panel_debug_log |
If |
tv.ini
The settings in tv.ini configure the behaviour of IPTV Internet protocol television features.
Setting |
Description |
---|---|
play_in_preview_only_by_ok |
Defines the preview play behaviour in the MinistraPRO end-user applications. If If |
tv_tmp_link_ttl |
Defines the lifetime (in minutes) of the temporary link for an IPTV Internet protocol television channel |
tv_preview_cache_server |
Defines the URL for a cache server of thumbnails for IPTV Internet protocol television channels. Using a cache reduces the request count to the streaming server. For more information about cache URLs, refer to https://flussonic.com/doc/jpeg-thumbnails/. |
tv_logo_resolution |
Defines how a TV channel logo is displayed. |
tv_archive.ini
The settings in tv_archive.ini configure the behaviour of DVR Digital video recording features.
Setting |
Description |
---|---|
tv_archive_tmp_link_ttl |
Defines the lifetime (in minutes) of a temporary link for an IPTV Internet protocol television Archive URL |
timeshift_tmp_link_ttl |
Defines the lifetime (in minutes) of a temporary link for an IPTV Internet protocol television Timeshift URL |
vod.ini
The settings in vod.ini configure the behaviour of VOD Video on demand features.
Setting |
Description |
---|---|
vod_cover_resolution_320[resolution] |
|
vod_cover_resolution_320[width] |
Defines the width (in pixels) that an uploaded VOD Video on demand cover image is cropped to when the image is displayed at the 320 resolution. |
vod_cover_resolution_320[height] |
Defines the height (in pixels) that an uploaded VOD Video on demand cover image is cropped to when the image is displayed at the 320 resolution. |
vod_cover_resolution_default[resolution] |
|
vod_cover_resolution_default[width] |
Defines the width (in pixels) that an uploaded VOD Video on demand cover image is cropped to when the image is displayed at the default resolution. |
vod_cover_resolution_default[height] |
Defines the height (in pixels) that an uploaded VOD Video on demand cover image is cropped to when the image is displayed at the default resolution. |
vod_cover_resolutions[] |
Defines the resolutions that are available for VOD Video on demand cover images. |
vod_screenshots_resolution_320[resolution] |
|
vod_screenshots_resolution_320[width] |
Defines the width (in pixels) that an uploaded VOD Video on demand screenshot is cropped to when the image is displayed at the 320 resolution. |
vod_screenshots_resolution_320[height] |
Defines the height (in pixels) that an uploaded VOD Video on demand screenshot is cropped to when the image is displayed at the 320 resolution. |
vod_screenshots_resolution_default[resolution] |
|
vod_screenshots_resolution_default[width] |
Defines the width (in pixels) that an uploaded VOD Video on demand screenshot is cropped to when the image is displayed at the default resolution. |
vod_screenshots_resolution_default[height] |
Defines the height (in pixels) that an uploaded VOD Video on demand screenshot is cropped to when the image is displayed at the default resolution. |
vod_screenshots_resolutions[] |
Defines the resolutions that are available for VOD Video on demand screenshots. |
Defines the rules used to generate VOD Video on demand URLs automatically. Rules use regular expressions. Caution You must define a separator character for rules that include multiple values. You can define this using the Tip You can only provide a single stream for VOD Video on demand. The stream link is in HLS protocol which means you must provide an M3U8 link. Some Samsung Tizen (except TVs manufactured in 2018) and LG WebOS TVs need MPEG Moving picture experts group-DASH Dynamic Adaptive Streaming over HTTP formats rather than M3U8. Streaming servers can stream HLS HTTP live streaming and MPEG Moving picture experts group-DASH Dynamic Adaptive Streaming over HTTP at the same time and you can use a rule to automatically generate MPEG links for these devices. [vod] link_generation_enabled=true multi_value_rules_separator='|' rule1[os_name]='webos|tizen' rule1[user_agent]='/^((?!Tizen\s4\.0).)*$/' rule1[link_find_pattern]='/^(.*)\.m3u8(\?.*)?/' rule1[link_replace_pattern]='$1.mpd$2' link_generation_rules[]=rule1 |
|
multi_value_rules_separator |
Defines the character used as a separator in rules when multi_value_rules_separator = | If If no value is set for this then link generation rules treat each rule value as a single value. |