Ace Stream snap package


2017-02-18 09:21:31,538|MainThread|acestream|init segmenter done: log_path=/home/tamer/snap/acestreamplayer/common/.ACEStream/logs/segmenter.log
2017-02-18 09:21:31,568|MainThread|acestream|platform=linux
2017-02-18 09:21:31,568|MainThread|acestream|app=acestream
2017-02-18 09:21:31,568|MainThread|acestream|version=3.1.16 code=3011600 revision=3258 date=2017-02-08
2017-02-18 09:21:31,568|MainThread|acestream|use_local_db=True
2017-02-18 09:21:31,568|MainThread|acestream|use_m2crypto=True
2017-02-18 09:21:31,574|MainThread|acestream|enable debug: 0
2017-02-18 09:21:31,585|MainThread|acestream|get_default_api_version: 2
2017-02-18 09:21:31,591|MainThread|acestream.coreapp|use fixed i2i_port: 62062
2017-02-18 09:21:31,591|MainThread|acestream.coreapp|state_dir=u'/home/tamer/snap/acestreamplayer/common/.ACEStream'
2017-02-18 09:21:31,690|MainThread|acestream.SocketHandler.InterruptSocket|bound on 127.0.0.1:43638
2017-02-18 09:21:31,690|MainThread|acestream.SocketHandler.SocketHandler|bind: socket bound: host=0.0.0.0 port=8621
2017-02-18 09:21:31,690|MainThread|acestream.LM|listen on 8621
2017-02-18 09:21:31,795|MainThread|acestream.VideoServer|start: addr= port=6878 allow_remote=0 allow_intranet=1
2017-02-18 09:21:32,062|MainThread|acestream.lang|setting up languages: default=en_EN.lang system=uk_UA
2017-02-18 09:21:32,074|MainThread|acestream.SocketHandler.InterruptSocket|bound on 127.0.0.1:55125
2017-02-18 09:21:32,074|MainThread|acestream.SocketHandler.SocketHandler|bind: socket bound: host=0.0.0.0 port=62062
2017-02-18 09:21:32,075|Instance2InstanceThread-30|acestream.APIServer|run: ready to receive remote commands on 62062
2017-02-18 09:21:32,075|MainThread|acestream.gtk_app|init: icon_path=/snap/acestreamplayer/5/opt/acestream/data/images/acestream16.png
2017-02-18 09:21:32,285|Thread-32|acestream.webui|api error: ('access denied',)
2017-02-18 09:21:32,304|Thread-32|acestream.webui|api error: ('access denied',)
2017-02-18 09:21:33,354|Thread-32|acestream.webui|api error: ('access denied',)
2017-02-18 09:21:34,358|Thread-32|acestream.webui|api error: ('access denied',)
2017-02-18 09:21:35,363|Thread-32|acestream.webui|api error: ('access denied',)

Последняя строчка повторяется раз 50.

Если запустить обычный движок, тот что с зависимостями в архиве, то при нажатии в меню gtk формы движка меню "Media-server (beta) открывается web интерфейс этого сервера в браузере по умолчанию:

http://storage1.static.itmages.ru/i/17/0218/s_1487403247_4761182_c098a48434.png

При этом лог этого движка не записывается вообще.

И еще вышеописанная проблема, выбором плеера на сайте тв:
если запустить “обычный” движок, то на странице медиа-сервера а так же сайта с ТВ-каналом при нажатии кнопки “воспроизвести” или “Play in another player” можно перевести воспроизведение с сайта в выбранный плеер.

Вот пример “обычного” движка (с зависимостями):

http://storage7.static.itmages.ru/i/17/0218/s_1487403914_1687236_89a8bddd93.png

Как видно в меню кнопки “Play in another player” есть три установленных у меня в системе плеера, (но ACE player HD кстати нет).

А вот пример воспроизведение при запущенном движке из снап пакета:

http://storage5.static.itmages.ru/i/17/0218/s_1487404202_6417376_d15b821d4c.png

Тут же меню кнопки “Play in another player” просто пустое.
И в логе аналогично моного строк такой же ошибки:

2017-02-18 09:51:57,261|Thread-39|acestream.webui|api error: ('access denied',)

Спасибо! С понедельника возьмусь за этот вопрос с media-server.

Сравнивал параметры значков запуска плееров. Так вот в отличии от моих трех плееров (smplayer mplayer mpv) ACE player HD не имеет категории video:video

http://storage2.static.itmages.ru/i/17/0218/s_1487452947_9909475_d3f6bae576.png

Вроде заработали пункты Медиа-сервер и Бродкастинг. Прошу тестеров обновиться

sudo snap refresh

и если есть ошибки, то сначала дайте вывод

LANG=C apt policy snapd-xdg-open

Не работает,

tamer@tamer-desktop:~$ LANG=C apt policy snapd-xdg-open
snapd-xdg-open:
  Installed: (none)
  Candidate: 0.0.0~16.04
  Version table:
     0.0.0~16.04 500
        500 http://ua.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages

Когда пытаюсь открыть медиа-сервер, появляется ошибка (последняя строка):

tamer@tamer-desktop:~$ acestreamplayer -I qt -vvv --play-and-stop --no-playlist-tree --no-qt-recentplay
Use --help if you need
Use -vvv for debug
Details http://oldforum.acestream.media/index.php?topic=12094.0
AceStreamEngine run with --client-gtk
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
sh: 1: /bin/netstat: Permission denied
sh: 1: /sbin/ifconfig: Permission denied
AceStreamPlayer run with
--play-and-stop --no-playlist-tree --no-qt-recentplay
-I qt -vvv --play-and-stop --no-playlist-tree --no-qt-recentplay
VLC media player 2.1.4 Ace Stream (revision 2.1.4-0-g2a072be)
[0x68cc78] main libvlc debug: Ace Player HD 2.2.5.1 (VLC media player - 2.1.4 Ace Stream)
[0x68cc78] main libvlc debug: Copyright © 1996-2014 the VideoLAN team
[0x68cc78] main libvlc debug: revision 2.1.4-0-g2a072be
[0x68cc78] main libvlc debug: configured with ../vlc-2.1.4/configure  '--prefix=/usr' '--disable-gtk' '--enable-nls' '--enable-sdl' '--enable-ffmpeg' '--enable-dxva2' '--with-ffmpeg-mp3lame' '--with-ffmpeg-faac' '--with-ffmpeg-zlib' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-live555' '--enable-caca' '--enable-mkv' '--without-contrib' '--disable-cddax' '--disable-vcdx' '--enable-twolame' '--enable-dvdread' '--enable-real' '--enable-debug' '--enable-dca' '--enable-mpc' '--enable-realrtsp' '--enable-shout' '--enable-portaudio' '--enable-sse' '--enable-mmx' '--disable-upnp' '--disable-fluidsynth' '--disable-zvbi' '--disable-telx' '--disable-libass' '--disable-projectm' '--enable-libva' '--enable-sqlite'
[0x68cc78] main libvlc debug: searching plug-in modules
[0x68cc78] main libvlc debug: loading plugins cache file /snap/acestreamplayer/6/usr/lib/acestreamplayer/plugins/plugins.dat
[0x68cc78] main libvlc warning: cannot read /snap/acestreamplayer/6/usr/lib/acestreamplayer/plugins/plugins.dat (No such file or directory)
[0x68cc78] main libvlc debug: recursively browsing `/snap/acestreamplayer/6/usr/lib/acestreamplayer/plugins'
[0x68cc78] main libvlc debug: saving plugins cache /snap/acestreamplayer/6/usr/lib/acestreamplayer/plugins/plugins.dat
[0x68cc78] main libvlc warning: cannot create /snap/acestreamplayer/6/usr/lib/acestreamplayer/plugins/plugins.dat.16654 (Read-only file system)
[0x68cc78] main libvlc debug: plug-ins loaded: 384 modules
[0x68cc78] main libvlc debug: opening config file (/home/tamer/snap/acestreamplayer/common/.config/.ACEStream/conf.2.1.x)
[0x68cc78] main libvlc debug: translation test: code is "uk"
[0x68cc78] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX FPU 
[0x68cc78] main libvlc debug: === Starting p2p ===
[0x7fabb8] main p2paccess debug: looking for p2p module matching "p2p_access": 1 candidates
[0x7fabb8] p2p_access p2paccess debug: Starting p2p access module
[0x7fabb8] p2p_access p2paccess debug: [p2p_access.cpp::StartThread] ...
[0x7fabb8] main p2paccess debug: using p2p module "p2p_access"
[0x7fabb8] main p2paccess debug: [p2p_object.c] p2p_object created
[0x7fabb8] p2p_access p2paccess debug: [DB]: Initializing database
[0x7ff5c8] main input debug: Creating an input for 'Медіатека'
[0x7f18ec000dd8] main sql debug: looking for sql module matching "any": 1 candidates
[0x7ff5c8] main input debug: Input is a meta file: disabling unneeded options
[0x7ff5c8] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0x7ff5c8] main input debug: `file/xspf-open:///home/tamer/snap/acestreamplayer/common/.local/share/.ACEStream/ml.xspf' gives access `file' demux `xspf-open' path `/home/tamer/snap/acestreamplayer/common/.local/share/.ACEStream/ml.xspf'
[0x7ff5c8] main input debug: creating demux: access='file' demux='xspf-open' location='/home/tamer/snap/acestreamplayer/common/.local/share/.ACEStream/ml.xspf' file='/home/tamer/snap/acestreamplayer/common/.local/share/.ACEStream/ml.xspf'
[0x808008] main demux debug: looking for access_demux module matching "file": 15 candidates
[0x7f18ec000dd8] sqlite sql debug: sqlite module loaded
[0x7f18ec000dd8] main sql debug: using sql module "sqlite"
[0x7f18ec000dd8] sqlite sql debug: Query: SELECT value FROM info WHERE name = 'version' LIMIT 1
[0x808008] main demux debug: no access_demux modules matched
[0x7ff5c8] main input debug: creating access 'file' location='/home/tamer/snap/acestreamplayer/common/.local/share/.ACEStream/ml.xspf', path='/home/tamer/snap/acestreamplayer/common/.local/share/.ACEStream/ml.xspf'
[0x809ec8] main access debug: looking for access module matching "file": 20 candidates
[0x7fabb8] p2p_access p2paccess debug: [DB::connect]: got db version 2.0
[0x7fabb8] p2p_access p2paccess debug: [p2p_access.cpp::Thread] Starting loop
[0x809ec8] filesystem access debug: opening file `/home/tamer/snap/acestreamplayer/common/.local/share/.ACEStream/ml.xspf'
[0x7fabb8] main p2paccess debug: net: connecting to 127.0.0.1 port 62062
[0x809ec8] main access debug: using access module "filesystem"
[0x80af78] main stream debug: Using stream method for AStream*
[0x80af78] main stream debug: starting pre-buffering
[0x80af78] main stream debug: received first data after 0 ms
[0x80af78] main stream debug: pre-buffering done 301 bytes in 0s - 26722 KiB/s
[0x80b1d8] main stream debug: looking for stream_filter module matching "any": 9 candidates
[0x7fabb8] main p2paccess debug: connection succeeded (socket = 6)
[0x7fabb8] p2p_access p2paccess debug: [connection.cpp::connect]: Connected successfully
[0x7fabb8] p2p_access p2paccess debug: [connection.cpp::sendMsg]: Sending: HELLOBG version=6 ace=2.2.5.1 ie=
[0x80b1d8] main stream debug: no stream_filter modules matched
[0x80b1d8] main stream debug: looking for stream_filter module matching "record": 9 candidates
[0x80b1d8] main stream debug: using stream_filter module "record"
[0x7ff5c8] main input debug: creating demux: access='file' demux='xspf-open' location='/home/tamer/snap/acestreamplayer/common/.local/share/.ACEStream/ml.xspf' file='/home/tamer/snap/acestreamplayer/common/.local/share/.ACEStream/ml.xspf'
[0x80e9a8] main demux debug: looking for demux module matching "xspf-open": 60 candidates
[0x80e9a8] playlist demux debug: using XSPF playlist reader
[0x80e9a8] main demux debug: using demux module "playlist"
[0x80f4f8] main demux meta debug: looking for meta reader module matching "any": 2 candidates
[0x80f4f8] lua demux meta debug: Trying Lua scripts in /home/tamer/snap/acestreamplayer/common/.local/share/.ACEStream/lua/meta/reader
[0x80f4f8] lua demux meta debug: Trying Lua scripts in /snap/acestreamplayer/6/usr/lib/acestreamplayer/lua/meta/reader
[0x80f4f8] lua demux meta debug: Trying Lua playlist script /snap/acestreamplayer/6/usr/lib/acestreamplayer/lua/meta/reader/filename.luac
[0x80f4f8] lua demux meta debug: Trying Lua scripts in /snap/acestreamplayer/6/usr/share/acestreamplayer/lua/meta/reader
[0x80f4f8] main demux meta debug: no meta reader modules matched
[0x7ff5c8] main input debug: `file/xspf-open:///home/tamer/snap/acestreamplayer/common/.local/share/.ACEStream/ml.xspf' successfully opened
[0x818d88] main xml reader debug: looking for xml reader module matching "any": 1 candidates
[0x818d88] main xml reader debug: using xml reader module "xml"
[0x80e9a8] playlist demux debug: parsed 0 tracks successfully
[0x7ff5c8] main input debug: EOF reached
[0x80e9a8] main demux debug: removing module "playlist"
[0x80b1d8] main stream debug: removing module "record"
[0x809ec8] main access debug: removing module "filesystem"
[0x7ff5c8] main input debug: Destroying the input for 'Медіатека'
[0x6c14c8] main playlist debug: creating audio output
[0x80af78] main audio output debug: looking for audio output module matching "pulse": 5 candidates
[0x80af78] pulse audio output debug: using library version 8.0.0
[0x80af78] pulse audio output debug:  (compiled with version 4.0.0, protocol 28)
[0x80af78] pulse audio output debug: connected locally to unix:/run/user/1000/pulse/native as client #253
[0x80af78] pulse audio output debug: using protocol 30, server protocol 30
[0x80af78] main audio output debug: using audio output module "pulse"
[0x80af78] pulse audio output debug: adding sink 0: alsa_output.pci-0000_01_00.1.hdmi-stereo (Tahiti XT HDMI Audio [Radeon HD 7970 Series] Digital Stereo (HDMI))
[0x6c14c8] main playlist debug: keeping audio output
[0x80af78] pulse audio output debug: adding sink 2: alsa_output.pci-0000_00_1b.0.analog-stereo (Вбудоване аудіо Аналогове стерео)
[0x800f58] main interface debug: looking for interface module matching "hotkeys,none": 14 candidates
[0x800f58] main interface debug: using interface module "hotkeys"
[0x81ded8] main interface debug: looking for interface module matching "globalhotkeys,none": 14 candidates
[0x81ded8] main interface debug: no interface modules matched
[0x81ded8] main interface error: no suitable interface module
[0x68cc78] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x81e2c8] main interface debug: looking for interface module matching "dbus,none": 14 candidates
[0x81e2c8] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc.instance16654
[0x81e2c8] main interface debug: using interface module "dbus"
[0x8220e8] main interface debug: looking for interface module matching "qt": 14 candidates
[0x81e2c8] dbus interface debug: Getting All properties
[0x81e2c8] dbus interface debug: Getting All properties
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
[0x8220e8] main interface warning: option qt-updates-notif does not exist
[0x7f18cc139948] main generic debug: looking for extension module matching "any": 1 candidates
[0x7f18cc139948] lua generic debug: Opening Lua Extension module
[0x7f18cc139948] lua generic debug: Trying Lua scripts in /home/tamer/snap/acestreamplayer/common/.local/share/.ACEStream/lua/extensions
[0x7f18cc139948] lua generic debug: Trying Lua scripts in /snap/acestreamplayer/6/usr/lib/acestreamplayer/lua/extensions
[0x7f18cc139948] lua generic debug: Trying Lua scripts in /snap/acestreamplayer/6/usr/share/acestreamplayer/lua/extensions
[0x7f18cc139948] main generic debug: using extension module "lua"
[0x8220e8] main interface debug: using interface module "qt4"
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
[0x7fabb8] p2p_access p2paccess debug: [connection.cpp::recvMsg]: Received : HELLOTS version=3.1.16 version_code=3011600 key=5ba7e2efc6 http_port=6878 bmode=0
[0x7fabb8] p2p_access p2paccess debug: [control.cpp::helloEngine]:  Support statistics events: 1
[0x7fabb8] p2p_access p2paccess debug: [control.cpp::helloEngine]:  Support new format and ages start : 1
[0x7fabb8] p2p_access p2paccess debug: [control.cpp::helloEngine]:  Wait preplay loadurls: 1
[0x7fabb8] p2p_access p2paccess debug: [connection.cpp::sendMsg]: Sending: READY key=1mcXu2Ujtsjy9z7k-76b02f005ff4bfc19b4062515d13db37948ca69b 
[0x7fabb8] p2p_access p2paccess debug: [connection.cpp::recvMsg]: Received : AUTH 0
[0x7fabb8] p2p_access p2paccess debug: [control.cpp::processEngineMessage]: EV_AUTH: 0
[0x7fabb8] p2p_access p2paccess debug: [connection.cpp::recvMsg]: Received : LOAD_URL items=%5B%5D
[0x7fabb8] p2p_access p2paccess debug: [control.cpp::prepareLoadUrlItems]: parsing error message 
[0x7fabb8] p2p_access p2paccess debug: [control.cpp::processEngineMessage]: IN_MSG_LOAD_URL: items_count=0
/snap/acestreamplayer/6/usr/bin/xdg-open: 630: /snap/acestreamplayer/6/usr/bin/xdg-open: exo-open: not found

Ещё раз хотелось бы прояснить ситуацию с плагином AceStream для браузера. Плагин умрёт в марте 2017 года как и другие NPAPI-плагины. Подробнее https://goo.gl/nD9MJO

В свете таких событий и, учитывая сложность представления плагина внутри снап пакета для браузера, пришедшего в деб пакете, мне не остаётся ничего другого, как просто ждать новостей от разработчиков AceStream, которые обещают обновить плеер и, думаю, вынуждены будут что-то сделать с плагином. Тогда и мне стоит “дёргаться”.

Сейчас любой функционал, связанный каким-либо образом с плагином, НЕ МОГУ представить в снап пакете. ВЫ МОЖЕТЕ отдельно разобраться с плагином, любым доступным вам способом, и получить в итоге комплексное решение, как это доступно в Ubuntu 14.04 из официального репо.

пробуйте поставить пакет snapd-xdg-open

Поставил (даже перезагрузился), все равно выдает

/snap/acestreamplayer/6/usr/bin/xdg-open: 630: /snap/acestreamplayer/6/usr/bin/xdg-open: exo-open: not found

Какая у вас версия Убунту? Какая среда рабочего стола (Xfce, KDE, …) ?

Xubuntu 16.04.2

есть такой баг для Xubuntu =(

просят ставить пакет exo-utils - прошу проверить это
мне урок! Буду дополнительно проверять AceStream в Xubuntu!

Уже стоял этот пакет, версия (0.10.7-1)

баг воспроизводится в Xubuntu (и только!) и у меня =( буду пинать в почтовой рассылке разрабов snapd.
спасибо за тесты!

Переписка из-за моего английского затянулась, но в итоге узнал следующее:

  1. разрабы признают, что текущая реализация “из темницы-снап просят открыть URL” не идеальна. В следующих релизах snapd будут улучшения.
  2. прямо здесь и сейчас разрабы дали рабочее решение, которое воплотил в 3.0.2-snap9
    от вас
sudo snap refresh

пакет snapd-xdg-open по-прежнему нужен

sudo apt install snapd-xdg-open

В тестовых виртуальных средах поставил с нуля все *buntu. Проверил новый 3.0.2-snap9, вроде работает открытие Медиа-сервер в браузере. Обновляйтесь, отписывайтесь.

Спасибо! Медиасервер работает.
Но по прежнему нет в списке проигрывателя ACE Player HD, с помощью которого можно воспроизвести медиастрим, хотя он практически не нужен.

А ну и еще мелочь есть, в плеере не применяется тема GTK . И может как-то эта ошибка и влияет:


tamer@tamer-desktop:~$ acestreamplayer -I qt -vvv --play-and-stop --no-playlist-tree --no-qt-recentplay
...
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
...

Признаю! В Xubuntu выглядит AcePlayer не очень. Займусь!

Проверил в virtualbox Manjaro 16.10 XFCE. Работает движок плюс VLC (системный).
Не открывается медиасервер. ACE player HD вроде и не висит, но и не воспроизводит, хотя движок данные получает. Во вложении выхлоп команды

acestreamplayer -I qt -vvv --play-and-stop --no-playlist-tree --no-qt-recentplay

Если нужно, могу еще в виртуалке потестировать другие дистрибутивы. Сначала хотел федору попробовать, но там пока только репозиторий для 23 и 24. 25 пока нет, последнее обновление snapd для федоры было 5 месяцев назад.


После обновления

sudo snap refresh

дайте вывод чисто запуска движка и нажатия пункта Медиа-сервер

acestreamplayer.engine

После нажатия пункта Медиа-сервер браузер не открывается с нужной урлой совсем?


[tamer@manjaro-vbx ~]$ sudo snap refresh
[sudo] пароль до tamer: 
All snaps up to date.
[tamer@manjaro-vbx ~]$ acestreamplayer.engine
AceStreamEngine run with --client-gtk
sh: 1: awk: not found
grep: write error: Broken pipe
sh: 1: awk: not found
grep: write error: Broken pipe
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
sh: 1: awk: not found
Error org.freedesktop.DBus.Error.ServiceUnknown: The name com.canonical.SafeLauncher was not provided by any .service files

При нажатии “Медиа-сервер” появляется последняя строка