При добавлении веб-интерфейса (Вид->Добавить интерфейс->Веб интерфейс) ничего не просиходит. В оригинальном VLC плеере при добавлении веб-интерфейса можно зайти в браузере на 127.0.0.1:8080 (или другой IP-адресс при условии что он открыт в файле .hosts) и наслаждаться удобным меню (например удобно при управлении с мобильника).
К сожалению в TS плеере этого не происходит.
Попытался сам немного разобраться почему так - включил консоль и увидел что при запуске веб-интерфейса он пытается искать нужные файлы в %APPDATA%\TorrentStream\player\http - такой папки вообще не существует, но существует %APPDATA%\TorrentStream\player[b]\lua[/b]http
Скопировал все содержимое папки lua на одну директорию “вверх” (т.е. в папку player) - ошибка в консоли больше не появлялась, сервер вроде заработал но получал пустой лист при обращении к 127.0.0.1:8080 (т.е. он отоброжает только сам index.html в котором нет никакого содержания, вся программная часть не доступна).
Известно ли Вам о такой проблеме и как её можно решить?
Большое спасибо
P.S. Использую Windows 7 (x64) Ru Enterprise
лог ошибки:
main info: creating httpd
oldhttp error: cannot find any file in directory C:\Users\superuser\AppData\Roaming\TorrentStream\player\http
main error: no suitable interface module
main error: interface “http” initialization failed
Не работает
По адресу 127.0.0.1:8080 пустая(визуально) страница
В отладчике видна проблема, где-то так
function refresh_albumart( force )
{
if( albumart_id != pl_cur_id || force )
{
var now = new Date();
var albumart = document.getElementById( 'albumart' );
albumart.src = '/art?timestamp=' + now.getTime();
albumart_id = pl_cur_id;
}
}
Ошибка вот такая Unhandled Error: Cannot convert ‘albumart’ to object
Т.к. код страницы вот такой (элемента с id albumart не существует)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
< index.html: VLC media player web interface
< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
< Copyright (C) 2005-2006 the VideoLAN team
< $Id$
<
< Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
<
< This program is free software; you can redistribute it and/or modify
< it under the terms of the GNU General Public License as published by
< the Free Software Foundation; either version 2 of the License, or
< (at your option) any later version.
<
< This program is distributed in the hope that it will be useful,
< but WITHOUT ANY WARRANTY; without even the implied warranty of
< MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
< GNU General Public License for more details.
<
< You should have received a copy of the GNU General Public License
< along with this program; if not, write to the Free Software
< Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>VLC media player - Web Interface</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
<!--[if IE ]>
<link href="iehacks.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script type="text/javascript" src="js/functions.js"></script>
<!-- in case people had scripts that sent commands to the default
index.html page -->
</head>
<body onload="loop_refresh();">
<noscript>
<hr/>
<p>
Warning: Your browser doesn't support JavaScript.
</p>
<hr/>
</noscript>
</body>
</html>
Опять не работает. Версия последняя на момент поста.
[0x3481168] logger interface: using logger.
[0x82707c0] [http] lua interface error: Error loading script C:\Users\Александр
AppData\Roaming\ACEStream\player\lua\intf\http.luac: cannot open C:\Users\Алекса
ндр\AppData\Roaming\ACEStream\player\lua\intf\http.luac: No such file or directo
ry
[0x7e1dfa0] [telnet] lua interface error: Error loading script C:\Users\Александ
р\AppData\Roaming\ACEStream\player\lua\intf\telnet.luac: cannot open C:\Users\Ал
ександр\AppData\Roaming\ACEStream\player\lua\intf\telnet.luac: No such file or d
irectory
[0x5f125a8] [http] lua interface error: Error loading script C:\Users\Александр
AppData\Roaming\ACEStream\player\lua\intf\http.luac: cannot open C:\Users\Алекса
ндр\AppData\Roaming\ACEStream\player\lua\intf\http.luac: No such file or directo
ry
Он не может подгрузить Lua модули из за русских символов в названии папки профиля, вообще устанавливать туда П/О это прямой путь к глюкам, для этого существует Program Files.