[vlc] [PATCH] Make the "rc" interface plugin [optionally] listen on a socket

Bernhard Rosenkraenzer bero at arklinux.org
Sat Jul 24 10:38:21 CEST 2004


The attached patch adds a "--commands-from" option to the rc interface.

Usage:

vlc --intf rc --commands-from 192.168.0.5:1234

-> You can send rc commands using "telnet 192.168.0.5 1234"

Alternatively:

vlc --intf rc --commands-from /tmp/vlc.sck

-> vlc will take the commands from a UNIX socket in /tmp/vlc.sck

Tested on Linux only, but stuff I know not to be portable is #ifdef'ed.

LLaP
bero
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlc-20040723-rc-socket.patch
Type: text/x-diff
Size: 23337 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20040724/a3d36b72/attachment.patch>


More information about the vlc mailing list