Can VLC run as a daemon while listening to a socket

*nix specific usage questions
gakkor
New Cone
New Cone
Posts: 4
Joined: 09 Jan 2007 19:44

Can VLC run as a daemon while listening to a socket

Postby gakkor » 09 Jan 2007 19:53

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

gakkor
New Cone
New Cone
Posts: 4
Joined: 09 Jan 2007 19:44

Postby gakkor » 09 Jan 2007 22:16

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

d.s.e
New Cone
New Cone
Posts: 4
Joined: 26 Aug 2008 16:41

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

Postby d.s.e » 26 Aug 2008 16:45

Hi,

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15324
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 26 Aug 2008 17:41

You cannot run the RC interface while detached. Try using a PTS/PTY pair instead of a Unix socket.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 32 guests