Tuesday, January 22, 2013

Control VLC Player

Hello all i searched the net for a way in which vlc player can be controlled
And here is the steps

Start VLC using the following command

vlc --extraintf http

Then run the following commands to control it

Play
-------
wget http://127.0.0.1:8080/requests/status.xml?command=pl_play

Stop
-------
wget http://127.0.0.1:8080/requests/status.xml?command=pl_stop






Pause
----------
wget http://127.0.0.1:8080/requests/status.xml?command=pl_pause

Next
-------
wget http://127.0.0.1:8080/requests/status.xml?command=pl_next

Prev
-------
wget http://127.0.0.1:8080/requests/status.xml?command=pl_previous

No comments:

Post a Comment