Remotely shutdown vlc

*nix specific usage questions
Orion4048
New Cone
New Cone
Posts: 7
Joined: 15 Dec 2009 13:36

Remotely shutdown vlc

Postby Orion4048 » 05 Nov 2010 11:11

Hi,

I'm using vlc to stream tv broadcast on Ubuntu 10.04. Sometimes i need to shutdown one of the vlc among others (There are 4 vlcs running with daemon option). With telnet connection and write down "shutdown" command, i can do that. But i wanna do it with a script. Is there any way to do this, like any command line like that?

Code: Select all

telnet 192.168.1.5 4212 "shutdown"
Thanks.

ivoire
Cone that earned his stripes
Cone that earned his stripes
Posts: 413
Joined: 20 Aug 2008 11:29
VLC version: trunk
Operating System: linux (debian sid)
Contact:

Re: Remotely shutdown vlc

Postby ivoire » 05 Nov 2010 11:23

echo "password\nshutdown\n" | nc 192.168.1.5 4212

Orion4048
New Cone
New Cone
Posts: 7
Joined: 15 Dec 2009 13:36

Re: Remotely shutdown vlc

Postby Orion4048 » 05 Nov 2010 12:24

Thanks so much :).


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

Who is online

Users browsing this forum: No registered users and 34 guests