Page 1 of 1

Can VLC run as a daemon while listening to a socket

Posted: 09 Jan 2007 19:53
by gakkor
Hello all;
I want to run VLC as a daemon on the background while listening to a unix socket. I tried running VLC as

> vlc -I rc --rc-host /tmp/vlc.vty

which opens up an interface where commands can be send using a socket; and

> vlc -d

which sends it to background

But I wasn't able to do both at the same time. Any suggestions?

Thanks in advance

Posted: 09 Jan 2007 22:16
by gakkor
Typo in my earlier post, should have read:

"I tried running VLC as vlc -I rc --rc-unix /tmp/vlc.vty...."

In essence I am trying to run vlc:

> vlc -d -I rc --rc-unix /tmp/vlc.vty

BTW, it work if I choose a telnet interface, i.e. vlc -d --intf telnet. However, for the above case the GUI starts and the file is never created in /tmp

Thanks

Re: Can VLC run as a daemon while listening to a socket

Posted: 26 Aug 2008 16:45
by d.s.e
Hi,

I have exactly the same problem here. Is there any solution, yet?

Re: Can VLC run as a daemon while listening to a socket

Posted: 26 Aug 2008 17:41
by RĂ©mi Denis-Courmont
You cannot run the RC interface while detached. Try using a PTS/PTY pair instead of a Unix socket.