PDA

View Full Version : Empty listing in tystreamer-2.0b1



orvi-wan
09-18-2005, 03:55 PM
Hopefully someone can help me, I cannot get TyStreamer to display a listing of tv shows from my TiVo.

My setup is:
> UK Series 1 TiVo running Vserver 1.2
> Gentoo Linux 2.6.1 running VLC 0.8.1, Apache2 and PHP 4.3.11

I can sucessfully use the Videolan client on my WinXP PC to watch shows from the TiVo and I can also view shows using TiVoWebPlus, so I am fairly sure that the problem lies on my Gentoo server.

I've installed the VLC video_output libraries: vlc-ty-i686-linux-r42 and vlc-vstream-i686linux-r37.

I can get a show list from the shell:
root@gentorv # vlc -I telnet tivo://192.168.0.4/llist vlc:quit 2>&1
VLC media player 0.8.1 Janus
[00000178] main interface error: VideoLAN manager support is disabled
[00000178] telnet interface error: cannot start VLM
Remote control interface initialized, `h' for help
[00000183] vstream access: |12/31/69|01:00|Live||1055926|8|
[00000183] vstream access: |09/18/05|18:14|Rolf on Art|Goya|1034988|3|
etc.

I checked the returned information from shell_exec() in tystreamer

else if (!$vlc_open) $tivo_list = shell_exec($fetch_programs_shell);
//debug
print $fetch_programs_shell . "<br>";
print $tivo_list . "<br>";

returns:

"vlc" -I telnet tivo://192.168.0.4/llist vlc:quit 2>&1

VLC media player 0.8.1 Janus
[00000178] main interface error: VideoLAN manager support is disabled
[00000178] telnet interface error: cannot start VLM
[00000178] main interface error: no suitable intf module
[00000001] main vlc error: interface "(null)" initialization failed

Anyone have any ideas?

orv.

ruperte
09-19-2005, 09:44 AM
"vlc" -I telnet tivo://192.168.0.4/llist vlc:quit 2>&1

VLC media player 0.8.1 Janus
[00000178] main interface error: VideoLAN manager support is disabled
[00000178] telnet interface error: cannot start VLM
[00000178] main interface error: no suitable intf module
[00000001] main vlc error: interface "(null)" initialization failed

Anyone have any ideas?

orv.

Sounds like the user the Apache server is running as doesn't have all the access it needs to vlc's libraries. It's got access to the binary, so not a problem there.

Look at Apaches config and work out which user it's running as, then su to it and run:

"vlc" -I telnet tivo://192.168.0.4/llist vlc:quit 2>&1

again - It might give some useful error messages. Also try:

"vlc" -vv -I telnet tivo://192.168.0.4/llist vlc:quit 2>&1

The more -v's you have, the more verbose the error logging!

Let us know how you get on.

orvi-wan
09-19-2005, 02:52 PM
Thanks for the quick response ruperte.

Here is the requested output, I'm sure it makes interesting bed time reading :)


"vlc" -vvv -I telnet tivo://192.168.0.4/llist vlc:quit 2>&1

VLC media player 0.8.1 Janus
[00000001] main vlc debug: opening config file /home/httpd/.vlc/vlcrc
[00000001] main vlc warning: config file /home/httpd/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /home/httpd/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 140 modules
[00000001] main vlc debug: opening config file /home/httpd/.vlc/vlcrc
[00000001] main vlc warning: config file /home/httpd/.vlc/vlcrc does not exist yet
[00000000] main root debug: VLC media player - version 0.8.1 Janus - (c) 1996-2004 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --prefix=/usr --host=i586-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-altivec --disable-utf8 --disable-sout --disable-httpd --disable-vlm --disable-gnutls --disable-v4l --disable-cdda --disable-vcd --disable-dvb --disable-pvr --enable-ogg --disable-mkv --disable-flac --enable-vorbis --disable-theora --enable-x11 --enable-xvideo --enable-glx --enable-opengl --disable-freetype --disable-fribidi --enable-dvdread --enable-dvdplay --enable-dvdnav --disable-fb --enable-svgalib --disable-glide --enable-aa --disable-caca --enable-oss --enable-esd --enable-arts --enable-alsa --disable-wxwindows --disable-xosd --disable-lirc --disable-joystick --disable-livedotcom --without-livedotcom-tree --enable-mad --disable-ffmpeg --disable-faad --disable-a52 --disable-dts --enable-libmpeg2 --disable-ggi --disable-glide --enable-sdl --enable-gnutls --disable-ncurses --disable-portaudio --disable-pth --disable-skins2 --disable-cddax --disable-mozilla
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /home/httpd/.vlc/vlcrc
[00000001] main vlc warning: config file /home/httpd/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /home/httpd/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 140 modules
[00000001] main vlc debug: opening config file /home/httpd/.vlc/vlcrc
[00000001] main vlc warning: config file /home/httpd/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE FPU
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 3 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000175] main playlist debug: creating group Normal with id 1 at position 0
[00000175] main playlist debug: waiting for thread completion
[00000175] main playlist debug: thread 16386 (playlist) created at priority 0 (src/playlist/playlist.c:107)
[00000176] main interface debug: looking for interface module
[00000176] main interface debug: probing 1 candidate
[00000089] main module debug: using interface module "hotkeys"
[00000176] main interface debug: interface initialized
[00000176] main interface debug: thread 32771 (interface) created at priority 0 (src/interface/interface.c:209)
[00000175] main playlist debug: adding playlist item `vlc:quit' ( vlc:quit )
[00000175] main playlist debug: adding playlist item `tivo://192.168.0.4/llist' ( tivo://192.168.0.4/llist )
[00000178] main interface debug: looking for interface module
[00000178] main interface debug: probing 2 candidates
[00000178] main interface error: VideoLAN manager support is disabled
[00000178] telnet interface error: cannot start VLM
[00000178] rc interface warning: fd 0 is not a TTY
[00000178] main interface warning: no interface module matching "telnet" could be loaded
[00000178] main interface error: no suitable intf module
[00000001] main vlc error: interface "(null)" initialization failed
[00000001] main vlc debug: removing all interfaces
[00000176] main interface debug: thread 32771 joined (src/interface/interface.c:236)
[00000089] main module debug: unlocking module "hotkeys"
[00000001] main vlc debug: removing all playlists
[00000175] main playlist debug: thread 16386 joined (src/playlist/playlist.c:130)
[00000175] main playlist debug: deleting playlist item `tivo://192.168.0.4/llist'
[00000175] main playlist debug: deleting playlist item `vlc:quit'
[00000001] main vlc debug: removing all video outputs
[00000001] main vlc debug: removing all audio outputs
[00000001] main vlc debug: removing announce handler
[00000010] main module debug: unlocking module "memcpymmxext"
[00000001] main vlc debug: saving plugins cache file /home/httpd/.vlc/cache/plugins-04041e.dat

Thanks.

orv.

orvi-wan
09-19-2005, 02:55 PM
Oh and it works when I run it from the shell as the apache user.


root@gentorv tystreamer # su apache
apache@gentorv tystreamer $ "vlc" -vvv -I telnet tivo://192.168.0.4/llist vlc:quit 2>&1
VLC media player 0.8.1 Janus
[00000001] main vlc debug: opening config file /home/httpd/.vlc/vlcrc
[00000001] main vlc warning: config file /home/httpd/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /home/httpd/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 140 modules
[00000001] main vlc debug: opening config file /home/httpd/.vlc/vlcrc
[00000001] main vlc warning: config file /home/httpd/.vlc/vlcrc does not exist yet
[00000000] main root debug: VLC media player - version 0.8.1 Janus - (c) 1996-2004 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure --prefix=/usr --host=i586-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-altivec --disable-utf8 --disable-sout --disable-httpd --disable-vlm --disable-gnutls --disable-v4l --disable-cdda --disable-vcd --disable-dvb --disable-pvr --enable-ogg --disable-mkv --disable-flac --enable-vorbis --disable-theora --enable-x11 --enable-xvideo --enable-glx --enable-opengl --disable-freetype --disable-fribidi --enable-dvdread --enable-dvdplay --enable-dvdnav --disable-fb --enable-svgalib --disable-glide --enable-aa --disable-caca --enable-oss --enable-esd --enable-arts --enable-alsa --disable-wxwindows --disable-xosd --disable-lirc --disable-joystick --disable-livedotcom --without-livedotcom-tree --enable-mad --disable-ffmpeg --disable-faad --disable-a52 --disable-dts --enable-libmpeg2 --disable-ggi --disable-glide --enable-sdl --enable-gnutls --disable-ncurses --disable-portaudio --disable-pth --disable-skins2 --disable-cddax --disable-mozilla
[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /home/httpd/.vlc/vlcrc
[00000001] main vlc warning: config file /home/httpd/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /home/httpd/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 140 modules
[00000001] main vlc debug: opening config file /home/httpd/.vlc/vlcrc
[00000001] main vlc warning: config file /home/httpd/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE FPU
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 3 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000175] main playlist debug: creating group Normal with id 1 at position 0
[00000175] main playlist debug: waiting for thread completion
[00000175] main playlist debug: thread 16386 (playlist) created at priority 0 (src/playlist/playlist.c:107)
[00000176] main interface debug: looking for interface module
[00000176] main interface debug: probing 1 candidate
[00000089] main module debug: using interface module "hotkeys"
[00000176] main interface debug: interface initialized
[00000176] main interface debug: thread 32771 (interface) created at priority 0 (src/interface/interface.c:209)
[00000175] main playlist debug: adding playlist item `vlc:quit' ( vlc:quit )
[00000175] main playlist debug: adding playlist item `tivo://192.168.0.4/llist' ( tivo://192.168.0.4/llist )
[00000178] main interface debug: looking for interface module
[00000178] main interface debug: probing 2 candidates
[00000178] main interface error: VideoLAN manager support is disabled
[00000178] telnet interface error: cannot start VLM
Remote control interface initialized, `h' for help
[00000086] main module debug: using interface module "rc"
[00000178] main interface debug: interface initialized
[00000175] main playlist debug: creating new input thread
[00000181] main input debug: waiting for thread completion
[00000181] main input debug: thread 49156 (input) created at priority 0 (src/input/input.c:228)
[00000181] main input debug: `tivo://192.168.0.4/llist' gives access `tivo' demux `' path `192.168.0.4/llist'
[00000181] main input debug: demux2_New: access='tivo' demux='' path='192.168.0.4/llist'
[00000182] main demuxer debug: looking for access_demux module
[00000182] main demuxer debug: probing 0 candidates
[00000182] main demuxer warning: no access_demux module matched "tivo"
[00000181] main input debug: access2_New: access='tivo' path='192.168.0.4/llist'
[00000183] main access debug: looking for access2 module
[00000183] main access debug: probing 3 candidates
[00000178] main interface debug: thread 65541 (manager) created at priority 0 (src/interface/interface.c:194)
[00000183] vstream access debug: host '192.168.0.4:8074', fsid 'llist'
[00000183] vstream access debug: opening net.
[00000183] main access debug: net: connecting to '192.168.0.4:8074'
[00000183] main access debug: looking for network module
[00000183] main access debug: probing 2 candidates
[00000183] ipv4 access debug: connection in progress
[00000139] main module debug: using network module "ipv4"
[00000139] main module debug: unlocking module "ipv4"
[00000183] vstream access debug: net open
[00000183] vstream access debug: super loaded.
[00000183] vstream access debug: zones loaded.
[00000183] vstream access debug: connected to host
[00000183] vstream access: |12/31/69|01:00|Live||1058734|8|
[00000183] vstream access: |09/19/05|19:30|Meerkat Manor||1030949|2|
[00000183] vstream access: |09/19/05|03:19|Pink Panther|Lucky Pink/Pink in the Clink|1053801|3|
[00000183] vstream access: |09/17/05|16:44|Looney Tunes||1053829|1|
[00000183] access_file access warning: cannot stat() file `192.168.0.4/llist' (No such file or directory)
[00000183] main access warning: no access2 module matching "tivo" could be loaded
[00000181] main input error: no suitable access module for `tivo://192.168.0.4/llist'
[00000181] main input debug: thread 49156 joined (src/input/input.c:290)
[00000175] main playlist debug: creating new input thread
[00000189] main input debug: waiting for thread completion
[00000189] main input debug: thread 81924 (input) created at priority 0 (src/input/input.c:228)
[00000189] main input debug: `vlc:quit' gives access `vlc' demux `' path `quit'
[00000189] main input debug: demux2_New: access='vlc' demux='' path='quit'
[00000190] main demuxer debug: looking for access_demux module
[00000190] main demuxer debug: probing 0 candidates
[00000190] main demuxer warning: no access_demux module matched "vlc"
[00000189] main input debug: access2_New: access='vlc' path='quit'
[00000191] main access debug: looking for access2 module
[00000191] main access debug: probing 3 candidates
[00000127] main module debug: using access2 module "dummy"
[00000200] main private debug: pre buffering
[00000200] main private debug: received first data for our buffer
[00000200] main private debug: prebuffering done 1408981 bytes in 0s - 81489 kbytes/s
[00000189] main input debug: demux2_New: access='vlc' demux='vlc' path='quit'
[00000201] main demuxer debug: looking for demux2 module
[00000201] main demuxer debug: probing 1 candidate
[00000201] dummy demuxer: command `quit'
[00000128] main module debug: using demux2 module "dummy"
[00000189] main input debug: `vlc:quit' sucessfully opened
[00000189] main input debug: EOF reached
[00000001] main vlc debug: removing all interfaces
[00000178] main interface debug: thread 65541 joined (src/interface/interface.c:236)
[00000086] main module debug: unlocking module "rc"
[00000189] main input debug: closing input
[00000128] main module debug: unlocking module "dummy"
[00000127] main module debug: unlocking module "dummy"
[00000176] main interface debug: thread 32771 joined (src/interface/interface.c:236)
[00000089] main module debug: unlocking module "hotkeys"
[00000001] main vlc debug: removing all playlists
[00000189] main input debug: thread 81924 joined (src/input/input.c:290)
[00000175] main playlist debug: thread 16386 joined (src/playlist/playlist.c:130)
[00000175] main playlist debug: deleting playlist item `tivo://192.168.0.4/llist'
[00000175] main playlist debug: deleting playlist item `vlc:quit'
[00000001] main vlc debug: removing all video outputs
[00000001] main vlc debug: removing all audio outputs
[00000001] main vlc debug: removing announce handler
[00000010] main module debug: unlocking module "memcpymmxext"
[00000001] main vlc debug: saving plugins cache file /home/httpd/.vlc/cache/plugins-04041e.dat