BtbN / vlc-htsp-plugin

Plugin for VLC to access TVHeadend via HTSP.
GNU Lesser General Public License v2.1
58 stars 32 forks source link

Connecting to HTS Failed! #29

Open nenadalm opened 8 years ago

nenadalm commented 8 years ago

Hi. I configured the plugin via

Then I restarted vlc (as without it it didn't work) and went to

but the playlist is empty

$ vlc -vv
VLC media player 2.2.2 Weatherwax (revision 2.2.1-161-g360f42e)
[00005578c3b15168] core libvlc debug: VLC media player - 2.2.2 Weatherwax
[00005578c3b15168] core libvlc debug: Copyright © 1996-2015 the VideoLAN team
[00005578c3b15168] core libvlc debug: revision 2.2.1-161-g360f42e
[00005578c3b15168] core libvlc debug: configured with ./configure  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--disable-optimizations' '--disable-silent-rules' '--with-pic' '--disable-rpath' '--with-binary-version=2.2.2' '--with-kde-solid=/usr/share/kde4/apps/solid/actions' '--enable-lua' '--enable-live555' '--enable-opencv' '--enable-sftp' '--enable-omxil' '--enable-omxil-vout' '--enable-faad' '--enable-twolame' '--enable-realrtsp' '--enable-flac' '--enable-tremor' '--enable-speex' '--enable-theora' '--enable-libass' '--enable-shout' '--enable-xcb' '--enable-xvideo' '--enable-svg' '--enable-aa' '--enable-caca' '--enable-jack' '--enable-pulse' '--enable-ncurses' '--enable-lirc' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'
[00005578c3b15168] core libvlc debug: searching plug-in modules
[00005578c3b15168] core libvlc debug: loading plugins cache file /usr/lib64/vlc/plugins/plugins.dat
[00005578c3b15168] core libvlc debug: recursively browsing `/usr/lib64/vlc/plugins'
[00005578c3b15168] core libvlc debug: saving plugins cache /usr/lib64/vlc/plugins/plugins.dat
[00005578c3b15168] core libvlc debug: plug-ins loaded: 457 modules
[00005578c3b15168] core libvlc debug: opening config file (/home/nenadalm/.config/vlc/vlcrc)
[00005578c3b15168] core libvlc debug: translation test: code is "C"
[00005578c3b15168] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX FPU 
[00005578c3c11488] core input debug: Creating an input for 'Media Library'
[00005578c3c11488] core input debug: Input is a meta file: disabling unneeded options
[00005578c3c11488] core input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[00005578c3c11488] core input debug: `file/xspf-open:///home/nenadalm/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/nenadalm/.local/share/vlc/ml.xspf'
[00005578c3c11488] core input debug: creating demux: access='file' demux='xspf-open' location='/home/nenadalm/.local/share/vlc/ml.xspf' file='/home/nenadalm/.local/share/vlc/ml.xspf'
[00005578c3bdf198] core demux debug: looking for access_demux module matching "file": 21 candidates
[00005578c3bdf198] core demux debug: no access_demux modules matched
[00005578c3c11488] core input debug: creating access 'file' location='/home/nenadalm/.local/share/vlc/ml.xspf', path='/home/nenadalm/.local/share/vlc/ml.xspf'
[00005578c3bdf198] core access debug: looking for access module matching "file": 24 candidates
[00005578c3bdf198] filesystem access debug: opening file `/home/nenadalm/.local/share/vlc/ml.xspf'
[00005578c3bdf198] core access debug: using access module "filesystem"
[00005578c3be38e8] core stream debug: Using stream method for AStream*
[00005578c3be38e8] core stream debug: starting pre-buffering
[00005578c3be38e8] core stream debug: received first data after 0 ms
[00005578c3be38e8] core stream debug: pre-buffering done 296 bytes in 0s - 6882 KiB/s
[00005578c3be4b58] core stream debug: looking for stream_filter module matching "any": 9 candidates
[00005578c3be4b58] core stream debug: no stream_filter modules matched
[00005578c3be4b58] core stream debug: looking for stream_filter module matching "record": 9 candidates
[00005578c3be4b58] core stream debug: using stream_filter module "record"
[00005578c3c11488] core input debug: creating demux: access='file' demux='xspf-open' location='/home/nenadalm/.local/share/vlc/ml.xspf' file='/home/nenadalm/.local/share/vlc/ml.xspf'
[00005578c3be8568] core demux debug: looking for demux module matching "xspf-open": 65 candidates
[00005578c3be8568] xspf demux debug: using XSPF playlist reader
[00005578c3be8568] core demux debug: using demux module "playlist"
[00005578c3be86b8] core demux meta debug: looking for meta reader module matching "any": 2 candidates
[00005578c3be86b8] lua demux meta debug: Trying Lua scripts in /home/nenadalm/.local/share/vlc/lua/meta/reader
[00005578c3be86b8] lua demux meta debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/reader
[00005578c3be86b8] lua demux meta debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/reader/filename.luac
[00005578c3be86b8] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[00005578c3be86b8] core demux meta debug: no meta reader modules matched
[00005578c3c11488] core input debug: `file/xspf-open:///home/nenadalm/.local/share/vlc/ml.xspf' successfully opened
[00005578c3c27d18] core xml reader debug: looking for xml reader module matching "any": 1 candidates
[00005578c3c27d18] core xml reader debug: using xml reader module "xml"
[00005578c3be8568] xspf demux debug: parsed 0 tracks successfully
[00005578c3c11488] core input debug: EOF reached
[00005578c3be8568] core demux debug: removing module "playlist"
[00005578c3be4b58] core stream debug: removing module "record"
[00005578c3bdf198] core access debug: removing module "filesystem"
[00005578c3c14688] core playlist debug: creating audio output
[00005578c3c07c18] core audio output debug: looking for audio output module matching "any": 5 candidates
[00005578c3c07c18] pulse audio output debug: using library version 7.1.0
[00005578c3c07c18] pulse audio output debug:  (compiled with version 7.0.0, protocol 30)
[00005578c3c07c18] pulse audio output debug: connected locally to unix:/run/user/1001/pulse/native as client #1492
[00005578c3c07c18] pulse audio output debug: using protocol 30, server protocol 30
[00005578c3c07c18] pulse audio output debug: adding sink 0: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo)
[00005578c3c07c18] core audio output debug: using audio output module "pulse"
[00005578c3c14688] core playlist debug: keeping audio output
[00005578c3c2b058] core interface debug: looking for interface module matching "hotkeys,none": 18 candidates
[00005578c3c2b058] core interface debug: using interface module "hotkeys"
[00005578c3c2b868] core interface debug: looking for interface module matching "globalhotkeys,none": 18 candidates
[00005578c3c2b868] core interface debug: using interface module "xcb_hotkeys"
[00005578c3c2ce08] core interface debug: looking for interface module matching "dbus,none": 18 candidates
[00005578c3c2ce08] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[00005578c3c2ce08] core interface debug: using interface module "dbus"
[00005578c3b15168] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00005578c3c307f8] core interface debug: looking for interface module matching "any": 18 candidates
[00007fb22410f318] core generic debug: looking for extension module matching "any": 1 candidates
[00007fb22410f318] lua generic debug: Opening Lua Extension module
[00007fb22410f318] lua generic debug: Trying Lua scripts in /home/nenadalm/.local/share/vlc/lua/extensions
[00007fb22410f318] lua generic debug: Trying Lua scripts in /usr/lib64/vlc/lua/extensions
[00007fb22410f318] lua generic debug: Trying Lua playlist script /usr/lib64/vlc/lua/extensions/VLSub.luac
[00007fb22410f318] lua generic debug: Scanning Lua script /usr/lib64/vlc/lua/extensions/VLSub.luac
[00007fb22410f318] lua generic debug: Script /usr/lib64/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5
[00007fb22410f318] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions
[00007fb22410f318] core generic debug: using extension module "lua"
[00007fb22422f118] core probe debug: looking for services probe module matching "any": 11 candidates
[00007fb22422f118] core probe debug: no services probe modules matched
[00005578c3c307f8] qt4 interface debug: Sorting by column -1, order 0
[00005578c3c307f8] qt4 interface debug: Sorting by column -1, order 0
[00005578c3c307f8] core interface debug: using interface module "qt4"
[00005578c3c14688] core playlist debug: adding services_discovery htsp{longname="Tvheadend HTSP"}...
[00007fb2242aaac8] core services discovery debug: looking for services_discovery module matching "htsp": 15 candidates
[00007fb2242aaac8] core services discovery warning: option longname is unknown
[00007fb2242aaac8] core services discovery debug: using services_discovery module "htsp"
[00007fb2242aaac8] core services discovery debug: net: connecting to 10.0.0.3 port 9981
[00007fb2242aaac8] core services discovery debug: connection succeeded (socket = 16)
[00007fb2242aaac8] htsp services discovery error: Size Read EOF!
[00007fb2242aaac8] htsp services discovery error: ReadMessage failed!
[00007fb2242aaac8] htsp services discovery error: No valid hello response
[00007fb2242aaac8] htsp services discovery error: Connecting to HTS Failed!

The problem seems to be here (last lines):

[00007fb2242aaac8] htsp services discovery error: Size Read EOF!
[00007fb2242aaac8] htsp services discovery error: ReadMessage failed!
[00007fb2242aaac8] htsp services discovery error: No valid hello response
[00007fb2242aaac8] htsp services discovery error: Connecting to HTS Failed!

Tvheadend (running on ubuntu 12.04) version:

$ tvheadend -v
tvheadend: version 4.0.8-3~gc870eb9~trusty

plugin was compiled using make on current master (as binary didn't work) - using Fedora 23