<commit_before>﻿; Please do not edit this file!
; If you want to change some settings - create a file custom.ini and add the necessary configuration.
;
; For example if you want to change mysql connection settings - create custom.ini with following lines:
; [database]
; mysql_host = 10.128.1.3
; mysql_pass = <PASSWORD>


[l18n]
default_timezone = Europe/Kiev

; See http://xml.weather.co.ua/1.2/country/ and http://xml.weather.co.ua/1.2/city/?country=804
default_city_id = 25

[locales]
; Make sure that your system support this locales
; e.g. run $locale -a
default_locale = ru_RU.utf8
allowed_locales[Русский] = ru_RU.utf8
allowed_locales[English] = en_GB.utf8

[database]
mysql_host = localhost
mysql_user = stalker
mysql_pass = 1
db_name = stalker_db

[http_streaming]
;nfs_proxy = localhost

; Host with nginx that create temporary http url for tv channel
stream_proxy = localhost

[billing]
; Wrapper class (should be in the /server/lib/)
oss_wrapper = SimpleOssWrapper

oss_url = ''
strict_oss_url_check = true

;auth_url = http://localhost/stalker_portal/server/tools/auth_simple.php
;on_subscribe_hook_url = http://localhost/stalker_portal/server/tools/on_subscribe.php
;on_unsubscribe_hook_url = http://localhost/stalker_portal/server/tools/on_subscribe.php
enable_subscription = true
enable_tariff_plans = false
show_unsubscribed_tv_channels = false
allow_subscription_from_stb = true

[subscription]
all_modules[] = media_browser
all_modules[] = tv
all_modules[] = tv_archive
all_modules[] = time_shift
all_modules[] = epg.reminder
all_modules[] = epg.recorder
all_modules[] = epg
all_modules[] = epg.simple
all_modules[] = vclub
all_modules[] = ex
all_modules[] = olltv
all_modules[] = megogo
all_modules[] = vidimax
all_modules[] = downloads_dialog
all_modules[] = downloads
all_modules[] = youtube
all_modules[] = karaoke
all_modules[] = radio
all_modules[] = weather.current
all_modules[] = widget.audio
all_modules[] = records
all_modules[] = remotepvr
all_modules[] = pvr_local
all_modules[] = settings.parent
all_modules[] = settings.localization
all_modules[] = settings.update
all_modules[] = settings.playback
all_modules[] = settings.common
all_modules[] = settings.network_status
all_modules[] = game.lines
all_modules[] = game.memory
all_modules[] = game.sudoku
all_modules[] = picasa
all_modules[] = settings
;all_modules[] = course.cbr
all_modules[] = course.nbu
all_modules[] = weather.weatherco.day
all_modules[] = cityinfo
all_modules[] = horoscope
all_modules[] = anecdote
all_modules[] = game.mastermind
all_modules[] = account
all_modules[] = demo
all_modules[] = infoportal
all_modules[] = internet
all_modules[] = service_management
all_modules[] = account_menu

disabled_modules[] = vclub
disabled_modules[] = karaoke
disabled_modules[] = weather.day
disabled_modules[] = cityinfo
disabled_modules[] = horoscope
disabled_modules[] = anecdote
disabled_modules[] = game.mastermind
disabled_modules[] = infoportal

[system]
portal_url = /stalker_portal/
screenshots_url = /stalker_portal/screenshots/

;customization_path = /var/www/customization/

max_page_items = 14
display_menu_after_loading = false
daemon_api_url = http://localhost:3000/

stalker_api_url = http://localhost/stalker_portal/api/

;allowed_stb_types = MAG200,MAG245,MAG250,AuraHD

; Middleware server http proxy
;http_proxy = tcp://10.128.1.1:8000
;http_proxy_login = login
;http_proxy_password = password

; STB http proxy
;stb_http_proxy_host = 192.168.1.1
;stb_http_proxy_port = 3128
;stb_http_proxy_user = ''
;stb_http_proxy_pass = ''
;stb_http_proxy_exclude_list = 'youtube.com .lenta.ru 192.168.1.1/24 192.168.1.*'

; Image update http url. http://update_url/[200|250|aurahd]/imageupdate
update_url = ''

; Timeout for polling the server in seconds. Set between 30 and 300.
watchdog_timeout = 120

;administrator_email = <EMAIL>

; Log errors to stream_error table
enable_stream_error_logging = false

deny_720p_gmode_on_mag200 = true

; Log should appear in /var/log/stalkerd/mac_clone_error.log
log_mac_clones = false

enable_connection_problem_indication = true

enable_mac_format_validation = true

exchange_rate_classes[] = Course
exchange_rate_classes[] = CourseCbr

enable_m3u_file = true

[server_api]
; API required for tv archive, pvr and billing
enable_api = false

; For security reasons it is highly recommended to use HTTP authentication
;api_auth_login = stalker
;api_auth_password = <PASSWORD>
enable_api_log = true

; Timeout in seconds
rest_client_timeout = 3
rest_client_connection_timeout = 1

enable_api_v2 = true
oauth_force_mac_check = false
oauth_force_serial_number_check = false

; Access types = mac, bearer
api_v2_access_type = bearer

wsdl_uri = http://localhost/stalker_portal/api/soap.php?wsdl

[playback]
; Limiting the duration of continuous playback
enable_playback_limit = false

; Enable buffering progress bar
enable_buffering_indication = false

logarithm_volume_control = false

enable_arrow_keys_setpos = false

always_enabled_subtitles = false

[cas]
; 0 - not defined, 1 - Verimatrix, 2 - SecureMedia, 4-10 - custom CAS
;cas_type = 0

;cas_params[server_addr] = 192.168.1.1
;cas_params[server_port] = 80
;cas_params[company_name] = ""
;cas_params[ip_id] = 1
;cas_params[error_level] = 0

;cas_additional_params[param1] = "value1"
;cas_additional_params[param2] = "value2"

;cas_hw_descrambling = 0

;cas_ini_file = file:///

[rtsp]
rtsp_type = 4
rtsp_flags = 0

[storages]
master_cache_expire = 365

; Number of errors before the automatic switch-off storage
max_storage_failures = 3
; Period in seconds in which errors are counted
storage_stat_period = 300

[admin]
deny_change_user_status = false
deny_delete_user = false

[pvr]
; Max record length in minutes
record_max_length = 180
; Per one user
total_records_length = 600

[tv_archive]
; number of pieces of archive records
; 1 piece = 1 hour
tv_archive_parts_number = 168

; Tv archive playback overlap, in minutes
;tv_archive_playback_overlap = 5

[tv]
enable_tv_quality_filter = false

enable_numbering_in_order = false

show_adult_tv_channels_in_common_list = true

invert_channel_switch_direction = false

play_in_preview_only_by_ok = false

use_named_wowza_token = false

[account]
;demo_video_url = ''

; example parts: vclub, tv, media_browser, infoportal_sub, settings_sub ...
;demo_part_video_url[vclub] = ''
;demo_part_video_url[tv] = ''

[vclub]
vclub_mag100_filter = false
kinopoisk_rating = true
show_purchased_filter = false

show_adult_movies_in_common_list = true

[horoscope]
horoscope_rss = http://www.hyrax.ru/cgi-bin/bn_xml5.cgi

[speedtest]
;test_download_url = ''

[cache]
query_cache = false
memcache_host = localhost

[settings]
use_embedded_settings = false

enable_service_button = false

[external_settings]
module[] = lock
module[] = lang
module[] = update
module[] = net_info
    net_info[] = wired
    net_info[] = pppoe
    net_info[] = wireless
    net_info[] = speed
module[] = video
module[] = audio
module[] = net
    net[] = ethernet
        ethernet[] = dhcp
        ethernet[] = dhcp_manual
        ethernet[] = manual
        ethernet[] = no_ip
    net[] = pppoe
        pppoe[] = dhcp
        pppoe[] = dhcp_manual
        pppoe[] = disable
    net[] = wifi
        wifi[] = dhcp
        wifi[] = dhcp_manual
        wifi[] = manual
module[] = advanced
module[] = servers
module[] = dev_info
module[] = reload
module[] = internal_portal
module[] = reboot
<commit_msg>Fix access to m3u file (issue #1826)<commit_after>﻿; Please do not edit this file!
; If you want to change some settings - create a file custom.ini and add the necessary configuration.
;
; For example if you want to change mysql connection settings - create custom.ini with following lines:
; [database]
; mysql_host = 10.128.1.3
; mysql_pass = <PASSWORD>


[l18n]
default_timezone = Europe/Kiev

; See http://xml.weather.co.ua/1.2/country/ and http://xml.weather.co.ua/1.2/city/?country=804
default_city_id = 25

[locales]
; Make sure that your system support this locales
; e.g. run $locale -a
default_locale = ru_RU.utf8
allowed_locales[Русский] = ru_RU.utf8
allowed_locales[English] = en_GB.utf8

[database]
mysql_host = localhost
mysql_user = stalker
mysql_pass = 1
db_name = stalker_db

[http_streaming]
;nfs_proxy = localhost

; Host with nginx that create temporary http url for tv channel
stream_proxy = localhost

[billing]
; Wrapper class (should be in the /server/lib/)
oss_wrapper = SimpleOssWrapper

oss_url = ''
strict_oss_url_check = true

;auth_url = http://localhost/stalker_portal/server/tools/auth_simple.php
;on_subscribe_hook_url = http://localhost/stalker_portal/server/tools/on_subscribe.php
;on_unsubscribe_hook_url = http://localhost/stalker_portal/server/tools/on_subscribe.php
enable_subscription = true
enable_tariff_plans = false
show_unsubscribed_tv_channels = false
allow_subscription_from_stb = true

[subscription]
all_modules[] = media_browser
all_modules[] = tv
all_modules[] = tv_archive
all_modules[] = time_shift
all_modules[] = epg.reminder
all_modules[] = epg.recorder
all_modules[] = epg
all_modules[] = epg.simple
all_modules[] = vclub
all_modules[] = ex
all_modules[] = olltv
all_modules[] = megogo
all_modules[] = vidimax
all_modules[] = downloads_dialog
all_modules[] = downloads
all_modules[] = youtube
all_modules[] = karaoke
all_modules[] = radio
all_modules[] = weather.current
all_modules[] = widget.audio
all_modules[] = records
all_modules[] = remotepvr
all_modules[] = pvr_local
all_modules[] = settings.parent
all_modules[] = settings.localization
all_modules[] = settings.update
all_modules[] = settings.playback
all_modules[] = settings.common
all_modules[] = settings.network_status
all_modules[] = game.lines
all_modules[] = game.memory
all_modules[] = game.sudoku
all_modules[] = picasa
all_modules[] = settings
;all_modules[] = course.cbr
all_modules[] = course.nbu
all_modules[] = weather.weatherco.day
all_modules[] = cityinfo
all_modules[] = horoscope
all_modules[] = anecdote
all_modules[] = game.mastermind
all_modules[] = account
all_modules[] = demo
all_modules[] = infoportal
all_modules[] = internet
all_modules[] = service_management
all_modules[] = account_menu

disabled_modules[] = vclub
disabled_modules[] = karaoke
disabled_modules[] = weather.day
disabled_modules[] = cityinfo
disabled_modules[] = horoscope
disabled_modules[] = anecdote
disabled_modules[] = game.mastermind
disabled_modules[] = infoportal

[system]
portal_url = /stalker_portal/
screenshots_url = /stalker_portal/screenshots/

;customization_path = /var/www/customization/

max_page_items = 14
display_menu_after_loading = false
daemon_api_url = http://localhost:3000/

stalker_api_url = http://localhost/stalker_portal/api/

;allowed_stb_types = MAG200,MAG245,MAG250,AuraHD

; Middleware server http proxy
;http_proxy = tcp://10.128.1.1:8000
;http_proxy_login = login
;http_proxy_password = password

; STB http proxy
;stb_http_proxy_host = 192.168.1.1
;stb_http_proxy_port = 3128
;stb_http_proxy_user = ''
;stb_http_proxy_pass = ''
;stb_http_proxy_exclude_list = 'youtube.com .lenta.ru 192.168.1.1/24 192.168.1.*'

; Image update http url. http://update_url/[200|250|aurahd]/imageupdate
update_url = ''

; Timeout for polling the server in seconds. Set between 30 and 300.
watchdog_timeout = 120

;administrator_email = <EMAIL>

; Log errors to stream_error table
enable_stream_error_logging = false

deny_720p_gmode_on_mag200 = true

; Log should appear in /var/log/stalkerd/mac_clone_error.log
log_mac_clones = false

enable_connection_problem_indication = true

enable_mac_format_validation = true

exchange_rate_classes[] = Course
exchange_rate_classes[] = CourseCbr

enable_m3u_file = false

[server_api]
; API required for tv archive, pvr and billing
enable_api = false

; For security reasons it is highly recommended to use HTTP authentication
;api_auth_login = stalker
;api_auth_password = <PASSWORD>
enable_api_log = true

; Timeout in seconds
rest_client_timeout = 3
rest_client_connection_timeout = 1

enable_api_v2 = true
oauth_force_mac_check = false
oauth_force_serial_number_check = false

; Access types = mac, bearer
api_v2_access_type = bearer

wsdl_uri = http://localhost/stalker_portal/api/soap.php?wsdl

[playback]
; Limiting the duration of continuous playback
enable_playback_limit = false

; Enable buffering progress bar
enable_buffering_indication = false

logarithm_volume_control = false

enable_arrow_keys_setpos = false

always_enabled_subtitles = false

[cas]
; 0 - not defined, 1 - Verimatrix, 2 - SecureMedia, 4-10 - custom CAS
;cas_type = 0

;cas_params[server_addr] = 192.168.1.1
;cas_params[server_port] = 80
;cas_params[company_name] = ""
;cas_params[ip_id] = 1
;cas_params[error_level] = 0

;cas_additional_params[param1] = "value1"
;cas_additional_params[param2] = "value2"

;cas_hw_descrambling = 0

;cas_ini_file = file:///

[rtsp]
rtsp_type = 4
rtsp_flags = 0

[storages]
master_cache_expire = 365

; Number of errors before the automatic switch-off storage
max_storage_failures = 3
; Period in seconds in which errors are counted
storage_stat_period = 300

[admin]
deny_change_user_status = false
deny_delete_user = false

[pvr]
; Max record length in minutes
record_max_length = 180
; Per one user
total_records_length = 600

[tv_archive]
; number of pieces of archive records
; 1 piece = 1 hour
tv_archive_parts_number = 168

; Tv archive playback overlap, in minutes
;tv_archive_playback_overlap = 5

[tv]
enable_tv_quality_filter = false

enable_numbering_in_order = false

show_adult_tv_channels_in_common_list = true

invert_channel_switch_direction = false

play_in_preview_only_by_ok = false

use_named_wowza_token = false

[account]
;demo_video_url = ''

; example parts: vclub, tv, media_browser, infoportal_sub, settings_sub ...
;demo_part_video_url[vclub] = ''
;demo_part_video_url[tv] = ''

[vclub]
vclub_mag100_filter = false
kinopoisk_rating = true
show_purchased_filter = false

show_adult_movies_in_common_list = true

[horoscope]
horoscope_rss = http://www.hyrax.ru/cgi-bin/bn_xml5.cgi

[speedtest]
;test_download_url = ''

[cache]
query_cache = false
memcache_host = localhost

[settings]
use_embedded_settings = false

enable_service_button = false

[external_settings]
module[] = lock
module[] = lang
module[] = update
module[] = net_info
    net_info[] = wired
    net_info[] = pppoe
    net_info[] = wireless
    net_info[] = speed
module[] = video
module[] = audio
module[] = net
    net[] = ethernet
        ethernet[] = dhcp
        ethernet[] = dhcp_manual
        ethernet[] = manual
        ethernet[] = no_ip
    net[] = pppoe
        pppoe[] = dhcp
        pppoe[] = dhcp_manual
        pppoe[] = disable
    net[] = wifi
        wifi[] = dhcp
        wifi[] = dhcp_manual
        wifi[] = manual
module[] = advanced
module[] = servers
module[] = dev_info
module[] = reload
module[] = internal_portal
module[] = reboot

{'fraction_non_alphanumeric': 0.09474296047532937, 'fraction_numerical': 0.019826918109015757, 'mean_word_length': 4.208543558694921, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 6}, 'pii_count': 10, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '719708', 'n_tokens_mistral': 5977, 'n_tokens_neox': 5402, 'n_words': 1204}