1 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
3 < status.xml: VLC media player web interface
4 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
5 < Copyright (C) 2005 the VideoLAN team
8 < Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
10 < This program is free software; you can redistribute it and/or modify
11 < it under the terms of the GNU General Public License as published by
12 < the Free Software Foundation; either version 2 of the License, or
13 < (at your option) any later version.
15 < This program is distributed in the hope that it will be useful,
16 < but WITHOUT ANY WARRANTY; without even the implied warranty of
17 < MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 < GNU General Public License for more details.
20 < You should have received a copy of the GNU General Public License
21 < along with this program; if not, write to the Free Software
22 < Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
23 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
25 <vlc id="if" param1="url_param 1 =" />
26 <vlc id="rpn" param1="input 'input' url_extract store" />
27 <vlc id="rpn" param1="command 'command' url_extract store" />
28 <vlc id="rpn" param1="id 'id' url_extract store" />
29 <vlc id="rpn" param1="val 'val' url_extract store" />
31 <!-- input commands -->
32 <vlc id="if" param1="command value 'in_play' strcmp 0 =" />
33 <vlc id="rpn" param1="input value dup playlist_add vlc_play" />
35 <vlc id="if" param1="command value 'in_enqueue' strcmp 0 =" />
36 <vlc id="rpn" param1="input value dup playlist_add" />
39 <!-- playlist commands -->
40 <vlc id="if" param1="command value 'pl_play' strcmp 0 =" />
41 <vlc id="rpn" param1="id value vlc_play" />
43 <vlc id="if" param1="command value 'pl_pause' strcmp 0 =" />
44 <vlc id="rpn" param1="vlc_pause" />
46 <vlc id="if" param1="command value 'pl_stop' strcmp 0 =" />
47 <vlc id="rpn" param1="vlc_stop" />
49 <vlc id="if" param1="command value 'pl_next' strcmp 0 =" />
50 <vlc id="rpn" param1="vlc_next" />
52 <vlc id="if" param1="command value 'pl_previous' strcmp 0 =" />
54 <vlc id="rpn" param1="vlc_previous" />
55 <vlc id="rpn" param1="vlc_previous" />
57 <vlc id="if" param1="command value 'pl_delete' strcmp 0 =" />
58 <vlc id="rpn" param1="id value playlist_delete" />
60 <vlc id="if" param1="command value 'pl_empty' strcmp 0 =" />
61 <vlc id="rpn" param1="playlist_empty" />
64 <!-- misc commands -->
65 <vlc id="if" param1="command value 'fullscreen' strcmp 0 =" />
66 <vlc id="rpn" param1="'fullscreen' 'VLC_OBJECT_VOUT' vlc_var_get ! 'fullscreen' 'VLC_OBJECT_VOUT' vlc_var_set" />
68 <vlc id="if" param1="command value 'volume' strcmp 0 =" />
69 <vlc id="rpn" param1="val value vlc_volume_set" />
74 <volume><vlc id="value" param1="volume" /></volume>
75 <length><vlc id="value" param1="stream_length" /></length>
76 <time><vlc id="value" param1="stream_time" /></time>
77 <state><vlc id="value" param1="stream_state" /></state>
78 <position><vlc id="value" param1="stream_position" /></position>