http - what is the key command in http status.xml

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
rocket888
Blank Cone
Blank Cone
Posts: 47
Joined: 01 Jul 2008 10:01

http - what is the key command in http status.xml

Postby rocket888 » 24 Feb 2009 18:50

In looking over the requests/status.xml file that I use to control vlc via http, i see the following code segment:

<vlc id="if" param1="command value 'volume' strcmp 0 =" />
<vlc id="rpn" param1="val value vlc_volume_set" />
<vlc id="end"/>
<vlc id="if" param1="command value 'seek' strcmp 0 =" />
<vlc id="rpn" param1="val value vlc_seek" />
<vlc id="end"/>
<vlc id="if" param1="command value 'key' strcmp 0 =" />[/code]
<vlc id="rpn" param1="'key-' val value strcat 'VLC_OBJECT_VLC' vlc_var_get key-pressed 'VLC_OBJECT_VLC' vlc_var_set" />
<vlc id="end"/>


The volume and seek commands work for me but I'm wondering what this key command is and how to use it.

I'm kinda wondering if it can be used to let me send keyboard commands over the http interface.

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 3 guests