Permalink
Browse files

Merge pull request #195 from tarasfrompir/master

Исправлен перевод
  • Loading branch information...
T-REX-XP committed Jul 9, 2018
2 parents e27668f + c5a22ce commit 6d44d5078a263fd4cd446974dc7ca4473682f9cc
Showing with 23 additions and 2 deletions.
  1. +19 −0 README.md
  2. +3 −1 modules/ssdp_finder/ssdp_finder.class.php
  3. +1 −1 templates/ssdp_finder/ssdp_devices_search_admin.html
View
@@ -30,6 +30,25 @@
- Рефакторинг
- Шаблоны поведения для управления устройствами
Для установки правильного адреса в виндовс :
1. в файле C:\Windows\System32\drivers\etc\hosts
Исправляем строку на нужный айпи адрес
_# localhost name resolution is handled within DNS itself.
_# 192.168.1.30 localhost
2. в файле C:\_majordomo\pms_config.ini
в строке 33 изменяем на тот же адрес...
_[http]
_;--- Defines the hostname that should be shown in the browser url and that is used for the apache server
_;--- At the moment only IP addresses or the placeholder {local_ip} is allowed.
_HostName=192.168.1.30
----------
@@ -454,7 +454,9 @@ function processSubscription($event, $details='') {
$cached_filename = 'http://'. $ipadressserver . '/cms/cached/voice/' . md5($message) . '_google.mp3';
} else if (file_exists(ROOT.'/cms/cached/voice/' . md5($message) . '_yandex.mp3')) {
$cached_filename = 'http://'. $ipadressserver . '/cms/cached/voice/' . md5($message) . '_yandex.mp3';
};
} else if (file_exists(ROOT.'/cms/cached/voice/rh_' . md5($message) . '.mp3')) {
$cached_filename = 'http://'. $ipadressserver . '/cms/cached/voice/rh_' . md5($message) . '.mp3';
}
$usedsay=SQLSelect("SELECT * FROM ssdp_devices WHERE USE_TO_SAY='".'1'."'");
foreach ($usedsay as $saydev) {
if ($saydev['TYPE']=='MediaRenderer' AND $saydev['USE_TO_SAY']=='1' AND $levelmes>=$level) {
@@ -50,7 +50,7 @@
<#LANG_TYPE#>
</th>
<th>
Сервисы
<#LANG_GENERAL_SERVICE#>
</th>
<th>
<#LANG_ACTION#>

0 comments on commit 6d44d50

Please sign in to comment.