Advertisement
Guest User

Untitled

a guest
Apr 6th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.28 KB | None | 0 0
  1. ; Please do not edit this file!
  2. ; If you want to change some settings - create a file custom.ini and add the necessary configuration.
  3. ;
  4. ; For example if you want to change mysql connection settings - create custom.ini with following lines:
  5. ; [database]
  6. ; mysql_host = 10.128.1.3
  7. ; mysql_pass = superpass
  8.  
  9.  
  10. [l18n]
  11. default_timezone = Europe/Paris
  12.  
  13. [weather]
  14.  
  15. ; openweathermap, weatherco
  16. ;weather_provider = openweathermap
  17.  
  18. ; See http://xml.weather.ua/1.2/country/ and http://xml.weather.ua/1.2/city/?country=804
  19. default_city_id = 13484
  20.  
  21.  
  22.  
  23. [locales]
  24. ; Make sure that your system support this locales
  25. ; e.g. run $locale -a
  26. default_locale = en_GB.utf8
  27. ;allowed_locales[Русский] = ru_RU.utf8
  28. allowed_locales[English] = en_GB.utf8
  29. ;allowed_locales[Українська] = uk_UA.utf8
  30. ;allowed_locales[Polski] = pl_PL.utf8
  31. ;allowed_locales[Ελληνικά] = el_GR.utf8
  32. ;allowed_locales[Nederlandse] = nl_NL.utf8
  33. ;allowed_locales[Italiano] = it_IT.utf8
  34. ;allowed_locales[Deutsch] = de_DE.utf8
  35. ;allowed_locales[Slovenský] = sk_SK.utf8
  36. [database]
  37. mysql_host = localhost
  38. mysql_port = 3306
  39. mysql_user = stalker
  40. mysql_pass = 1
  41. db_name = stalker_db
  42.  
  43. ;mysql_user = stalker_adm
  44. ;mysql_pass = 1
  45. ;db_name = stalker_adm
  46.  
  47. ;read_mysql_host = localhost
  48. ;read_mysql_port = 3306
  49. ;read_mysql_user = stalker
  50. ;read_mysql_pass = 1
  51. ;read_db_name = stalker_db
  52.  
  53. use_optimize_table = true
  54.  
  55. query_cache = false
  56.  
  57. [http_streaming]
  58. ;nfs_proxy = localhost
  59.  
  60. ; Host with nginx that create temporary http url for tv channel
  61. stream_proxy = localhost
  62.  
  63. [billing]
  64. ; Wrapper class (should be in the /server/lib/)
  65. oss_wrapper = SimpleOssWrapper
  66.  
  67. oss_url = ''
  68. strict_oss_url_check = true
  69.  
  70. ;auth_url = http://localhost/stalker_portal/server/tools/auth_every_load.php
  71. ;disable_auth_for_models = AuraHD9
  72. ;on_subscribe_hook_url = http://localhost/stalker_portal/server/tools/on_subscribe.php
  73. ;on_unsubscribe_hook_url = http://localhost/stalker_portal/server/tools/on_subscribe.php
  74. enable_subscription = true
  75. enable_tariff_plans = false
  76. show_unsubscribed_tv_channels = false
  77. allow_subscription_from_stb = false
  78. enable_tv_subscription_for_tariff_plans = false
  79. enable_internal_billing = false
  80.  
  81. ; enable "enable_internal_billing" and set number of days to send a message, e.g. number_of_days_to_send_message = 5
  82. ; for disable this option set - false
  83. number_of_days_to_send_message = false
  84.  
  85. option_services[] = disable_vclub_ad
  86. option_services[] = show_unsubscribed_tv_channels
  87.  
  88. store_auth_data_on_stb = true
  89.  
  90. ;It works only with the enabled option 'enable_numbering_in_order'
  91. order_itv_channel_as_adding = false
  92.  
  93. ;external_payment_page_url = ''
  94.  
  95. ;registration_url = ''
  96.  
  97. enable_modules_order_by_package = false
  98.  
  99. unique_login = true
  100.  
  101. [subscription]
  102. all_modules[] = media_browser
  103. all_modules[] = tv
  104. ;all_modules[] = apps
  105. ;all_modules[] = dvb
  106. all_modules[] = tv_archive
  107. ;all_modules[] = time_shift
  108. ;all_modules[] = time_shift_local
  109. all_modules[] = epg.reminder
  110. all_modules[] = epg.recorder
  111. all_modules[] = epg
  112. all_modules[] = epg.simple
  113. all_modules[] = vclub
  114. ;all_modules[] = audioclub
  115. ;all_modules[] = ex
  116. ;all_modules[] = olltv
  117. ;all_modules[] = megogo
  118. ;all_modules[] = ivi
  119. ;all_modules[] = vidimax
  120. ;all_modules[] = tvzavr
  121. ;all_modules[] = zoombytv
  122. ;all_modules[] = pomogator
  123. ;all_modules[] = vimeo
  124. ;all_modules[] = downloads_dialog
  125. ;all_modules[] = downloads
  126. all_modules[] = youtube
  127. ;all_modules[] = karaoke
  128. ;all_modules[] = radio
  129. ;all_modules[] = weather.current
  130. ;all_modules[] = widget.audio
  131. ;all_modules[] = widget.radio
  132. ;all_modules[] = records
  133. ;all_modules[] = remotepvr
  134. ;all_modules[] = pvr_local
  135. all_modules[] = settings.parent
  136. all_modules[] = settings.localization
  137. all_modules[] = settings.update
  138. all_modules[] = settings.playback
  139. all_modules[] = settings.common
  140. all_modules[] = settings.network_status
  141. ;all_modules[] = game.lines
  142. ;all_modules[] = game.memory
  143. ;all_modules[] = game.sudoku
  144. ;all_modules[] = game.2048
  145. ;all_modules[] = picasa
  146. all_modules[] = settings
  147. ;all_modules[] = course.cbr
  148. ;all_modules[] = course.nbu
  149. ;all_modules[] = weather.day
  150. ;all_modules[] = cityinfo
  151. ;all_modules[] = horoscope
  152. ;all_modules[] = anecdote
  153. ;all_modules[] = game.mastermind
  154. ;all_modules[] = account
  155. ;all_modules[] = demo
  156. ;all_modules[] = infoportal
  157. all_modules[] = internet
  158. all_modules[] = service_management
  159. ;all_modules[] = logout
  160. ;all_modules[] = account_menu
  161.  
  162. disabled_modules[] = vclub
  163. ;disabled_modules[] = karaoke
  164. ;disabled_modules[] = cityinfo
  165. ;disabled_modules[] = horoscope
  166. ;disabled_modules[] = anecdote
  167. ;disabled_modules[] = game.mastermind
  168. ;disabled_modules[] = infoportal
  169.  
  170. [system]
  171. portal_url = /stalker_portal/
  172. screenshots_url = /stalker_portal/screenshots/
  173. screenshots_path = screenshots/
  174. apps_path = stalker_apps/
  175.  
  176. ;customization_path = /var/www/customization/
  177.  
  178. max_page_items = 14
  179. display_menu_after_loading = false
  180.  
  181. ;deprecated
  182. daemon_api_url = http://localhost:3000/
  183.  
  184. stalker_api_url = http://localhost/stalker_portal/api/
  185.  
  186. strict_stb_type_check = false
  187. ;allowed_stb_types = MAG200,MAG245,MAG245D,MAG250,MAG254,MAG255,MAG260,MAG270,MAG275,AuraHD,WR320
  188.  
  189. ; Middleware server http proxy
  190. ;http_proxy = tcp://10.128.1.1:8000
  191. ;http_proxy_login = login
  192. ;http_proxy_password = password
  193.  
  194. ; STB http proxy
  195. ;stb_http_proxy_host = 192.168.1.1
  196. ;stb_http_proxy_port = 3128
  197. ;stb_http_proxy_user = ''
  198. ;stb_http_proxy_pass = ''
  199. ;stb_http_proxy_exclude_list = 'youtube.com .lenta.ru 192.168.1.1/24 192.168.1.*'
  200.  
  201. ; Image update http url. http://update_url/[200|250|aurahd]/imageupdate
  202. update_url = ''
  203.  
  204. ; Timeout for polling the server in seconds. Set between 30 and 300.
  205. watchdog_timeout = 120
  206.  
  207. ;administrator_email = root@localhost
  208.  
  209. ; Log errors to stream_error table
  210. enable_stream_error_logging = false
  211.  
  212. enable_stream_losses_logging = false
  213.  
  214. deny_720p_gmode_on_mag200 = true
  215.  
  216. ; Log should appear in /var/log/stalkerd/mac_clone_error.log
  217. log_mac_clones = false
  218.  
  219. enable_connection_problem_indication = true
  220.  
  221. enable_mac_format_validation = true
  222.  
  223. exchange_rate_classes[] = Course
  224. exchange_rate_classes[] = CourseCbr
  225.  
  226. enable_m3u_file = false
  227.  
  228. ; default behavior, user can change it in settings
  229. enable_hdmi_events_handler = true
  230.  
  231. standby_on_hdmi_off = false
  232.  
  233. ; 1 - on, 0 - off
  234. ;default_stb_status = 0
  235.  
  236. enable_timeshift_tmp_link = false
  237.  
  238. ; in seconds
  239. plasma_saving_timeout = 600
  240.  
  241. enable_device_id_validation = true
  242.  
  243. enable_welcome_message = false
  244.  
  245. epg_update_delay_per_user = 0.2
  246.  
  247. ; in message by send_msg event
  248. display_send_time_in_message = false
  249.  
  250. init_device_before_auth = false
  251.  
  252. account_page_by_password = false
  253.  
  254. ; in days
  255. user_log_ttl = 1
  256.  
  257. ; in days
  258. events_messages_ttl = 14
  259.  
  260. disable_portal = false
  261.  
  262. default_led_level = 10
  263. standby_led_level = 90
  264.  
  265. ; Portal logo. Image 200x100px. Example: /stalker_portal/c/template/logo.png
  266. ;portal_logo_url = http://...
  267.  
  268. show_version_in_main_menu = true
  269. check_ssl_certificate = false
  270.  
  271. disable_youtube_for_mag200 = true
  272.  
  273. ;experimental, reduces portal loading time
  274. enable_supermodule = false
  275.  
  276. auto_add_stb = true
  277.  
  278. [server_api]
  279. ; API required for tv archive, pvr and billing
  280. enable_api = false
  281.  
  282. enable_soap_api = false
  283.  
  284. ; For security reasons it is highly recommended to use HTTP authentication
  285. ;api_auth_login = stalker
  286. ;api_auth_password = kavkom2015
  287. enable_api_log = true
  288.  
  289. ; Timeout in seconds
  290. rest_client_timeout = 200
  291. rest_client_connection_timeout = 1
  292.  
  293. enable_api_v2 = true
  294. oauth_force_mac_check = false
  295. oauth_force_serial_number_check = false
  296.  
  297. ; Access types = mac, bearer
  298. api_v2_access_type = bearer
  299.  
  300. bind_stb_auth_and_oauth = true
  301.  
  302. wsdl_uri = http://localhost/stalker_portal/api/soap.php?wsdl
  303.  
  304. allow_multiple_stb_update = false
  305.  
  306. [playback]
  307. ; Limiting the duration of continuous playback
  308. enable_playback_limit = false
  309.  
  310. ; List of MAC addresses for which limitation will not work.
  311. ;playback_limit_whitelist[] = ''
  312.  
  313. ; Enable buffering progress bar
  314. enable_buffering_indication = false
  315.  
  316. logarithm_volume_control = false
  317.  
  318. enable_arrow_keys_setpos = false
  319.  
  320. always_enabled_subtitles = false
  321.  
  322. ; 0 - unlimited
  323. tv_playback_retry_limit = 0
  324.  
  325. fading_tv_retry_timeout = true
  326.  
  327. hls_fast_start = true
  328.  
  329. [cas]
  330. ; 0 - not defined, 1 - Verimatrix, 2 - SecureMedia, 4-10 - custom CAS
  331. ;cas_type = 0
  332.  
  333. ;cas_params[server_addr] = 192.168.1.1
  334. ;cas_params[server_port] = 80
  335. ;cas_params[company_name] = ""
  336. ;cas_params[ip_id] = 1
  337. ;cas_params[error_level] = 0
  338.  
  339. ;cas_web_params[server_addr] = 192.168.1.1
  340. ;cas_web_params[company_name] = ""
  341.  
  342. ;cas_additional_params[param1] = "value1"
  343. ;cas_additional_params[param2] = "value2"
  344.  
  345. ;cas_hw_descrambling = 0
  346.  
  347. ;cas_ini_file = file:///
  348.  
  349. [rtsp]
  350. rtsp_type = 4
  351. rtsp_flags = 0
  352.  
  353. [storages]
  354. master_cache_expire = 365
  355.  
  356. ; Number of errors before the automatic switch-off storage
  357. max_storage_failures = 3
  358. ; Period in seconds in which errors are counted
  359. storage_stat_period = 300
  360.  
  361. [admin]
  362. deny_change_user_status = false
  363. deny_delete_user = false
  364. hide_media_info_for_offline_stb = false
  365.  
  366. [pvr]
  367. ; Max record length in minutes
  368. record_max_length = 180
  369. ; Per one user
  370. total_records_length = 600
  371.  
  372. allowed_stb_types_for_local_recording = MAG245,MAG245D,MAG250,MAG254,MAG255,MAG270,MAG260,MAG275,AuraHD,WR320,IP_STB_HD
  373.  
  374. max_local_recordings = 10
  375.  
  376. [tv_archive]
  377. ; default number of pieces of archive records
  378. ; 1 piece = 1 hour
  379. tv_archive_parts_number = 168
  380.  
  381. ; Tv archive playback overlap, in minutes
  382. ;tv_archive_playback_overlap = 5
  383. ;tv_archive_playback_overlap_start = 5
  384.  
  385. tv_archive_continued = false
  386.  
  387. tv_archive_player_solution = ffmpeg
  388.  
  389. [tv]
  390. enable_tv_quality_filter = false
  391.  
  392. enable_numbering_in_order = false
  393.  
  394. show_adult_tv_channels_in_common_list = false
  395.  
  396. invert_channel_switch_direction = false
  397.  
  398. play_in_preview_only_by_ok = false
  399.  
  400. use_named_wowza_token = false
  401.  
  402. show_empty_tv_category = true
  403.  
  404. show_tv_channel_logo = true
  405.  
  406. force_ch_link_check = false
  407.  
  408. tv_tmp_link_ttl = 5
  409.  
  410. show_tv_only_hd_filter_option = false
  411.  
  412. nginx_secure_link_secret = kavkom2015
  413. nginx_secure_link_ttl = 5
  414. ; the possible parameters for generating md5-hash "$secret", "$uri", "$secure_link_expires", "$remote_addr"
  415. ; example "$secure_link_expires$uri$remote_addr $secret"
  416. nginx_secure_link_order = "$secret$uri$secure_link_expires"
  417.  
  418. show_channel_logo_in_preview = false
  419.  
  420. show_tv_channel_pvr_icon = true
  421.  
  422. ; fit, big, opt, exp, cmb
  423. tv_channel_default_aspect = fit
  424.  
  425. show_pvr_filter_in_genres_list = false
  426.  
  427. [epg]
  428.  
  429. epg_history_weeks = 1
  430.  
  431. ; in hours, for all STB's except MAG200
  432. epg_data_block_period_for_stb = 5
  433.  
  434. [account]
  435. ;demo_video_url = ''
  436.  
  437. ; example parts: vclub, tv, media_browser, infoportal_sub, settings_sub ...
  438. ;demo_part_video_url[vclub] = ''
  439. ;demo_part_video_url[tv] = ''
  440.  
  441. [vclub]
  442. vclub_mag100_filter = false
  443. kinopoisk_rating = true
  444. show_purchased_filter = false
  445.  
  446. show_adult_movies_in_common_list = true
  447.  
  448. enable_video_low_quality_option = false
  449.  
  450. enable_coming_soon_section = false
  451.  
  452. vclub_tmp_link_ttl = 5
  453. vclub_nginx_tmp_link_ttl = 7200
  454.  
  455. [horoscope]
  456. horoscope_rss = http://www.hyrax.ru/cgi-bin/bn_xml5.cgi
  457.  
  458. [speedtest]
  459. ;test_download_url = ''
  460.  
  461. [cache]
  462. memcache_host = localhost
  463.  
  464. [settings]
  465. use_embedded_settings = false
  466.  
  467. enable_service_button = false
  468.  
  469. enable_setting_access_by_pass = false
  470.  
  471. enable_launcher_in_theme_settings = false
  472.  
  473. [external_settings]
  474. module[] = lock
  475. module[] = settings_lock
  476. module[] = lang
  477. module[] = update
  478. module[] = net_info
  479. net_info[] = wired
  480. net_info[] = pppoe
  481. net_info[] = wireless
  482. net_info[] = speed
  483. module[] = video
  484. module[] = audio
  485. module[] = playback
  486. module[] = portal
  487. module[] = net
  488. net[] = ethernet
  489. ethernet[] = dhcp
  490. ethernet[] = dhcp_manual
  491. ethernet[] = manual
  492. ethernet[] = no_ip
  493. net[] = pppoe
  494. pppoe[] = dhcp
  495. pppoe[] = dhcp_manual
  496. pppoe[] = disable
  497. net[] = wifi
  498. wifi[] = dhcp
  499. wifi[] = dhcp_manual
  500. wifi[] = manual
  501. module[] = remote_control
  502. module[] = advanced
  503. module[] = time_shift
  504. module[] = dvb
  505. module[] = servers
  506. module[] = dev_info
  507. module[] = reload
  508. module[] = internal_portal
  509. module[] = reboot
  510.  
  511. [vclub_info]
  512.  
  513. ; tmdb || kinopoisk
  514. vclub_info_provider = tmdb
  515.  
  516. ; when you using 'tmdb' as a resource for autofill fields when adding video is strongly recommended to get a new API key at https://www.themoviedb.org/
  517. tmdb_api_key = '7a7520e999f5e01cd8df64f0647754fd'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement