Page 1 of 1

XP: Problem using RC interface remotely

Posted: 20 Jul 2005 13:35
by Jinja
Hi,

Just wanted to feedback another quirk I found while testing the rc interface on XPSP2, VLC 0.8.2

If I start VLC using: 'vlc.exe --intf rc --rc-host 127.0.0.1:1234' it will spawn a new dosbox where vlc is running.

If I then make a telnet connection to this, I can't send or receive anything via the telnet console UNTIL you hit enter once in the vlc DOS box. This seems to purge some buffer, allowing full 2-way control between vlc and telnet connection. Does anyone know how to get around this without having to interact manually with the VLC window?

Also, is there anyway to launch vlc with the RC interface without getting this DOS box? I'd like a completely invisible vlc client if possible.

Many thanks in advance

Posted: 30 Mar 2006 16:21
by wuki22
I've got the same problem, is there already a solution for that?

Solution found!

Posted: 20 Apr 2006 00:22
by getluky
Hey, I found a solution to this problem after much gnashing of teeth. I am using IO::Socket::INET on my local WinXP laptop to connect to a locally-running vlc with the following command line:

Code: Select all

vlc --extraint="rc" --rc-host="localhost:8030" --rc-quiet
The --rc-quiet is what prevents the DOSbox from capturing the buffer, and I do believe this is a bug, not a feature of the DOS interface. After doing so, I had to also add a socket read for a single line after my first command "stop" dumped to the socket.