LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   rc interface with netcat for vlc in windows (https://www.linuxquestions.org/questions/general-10/rc-interface-with-netcat-for-vlc-in-windows-816951/)

mgnidhi_3july 06-29-2010 04:54 AM

rc interface with netcat for vlc in windows
 
hi all,
i'm newbie to vlc,i have to control vlc which is running on my pc through console application.I heared like it can be controlled using netcat and rc interface but not getting the procedures how exactly its can be implemented.So if anyone knows pls explain me with steps.i want to do this in windows and i'm using vlc version 0.8.6. ur suggestions will really help me..so give ur comments.

thanking you in advance...
Sri

unSpawn 06-29-2010 07:21 AM

In the GNU/Linux version you would (enable logging, see manual, so you can trace back problems more easily and) run vlc with the "-I rc --rc-host ip_address:tcp_port /path/to/playlist.m3u" switches to select the remote command interface, enable it to listen on an IP address and TCP port for incoming connections and load a playlist. Once running you would use your system tools to list used TCP ports to see if it's available (or check the log file) then connect telnet or netcat to ip_address:tcp_port and type "help" (w/o quotes) to show you've connected and finally "logout" to disconnect. Try it an see if it works I'd say.


All times are GMT -5. The time now is 02:23 AM.