1 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2 <vlc id="if" param1="0"/>
3 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
4 < status.xml: VLC media player web interface
5 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
6 < Copyright (C) 2005-2006 the VideoLAN team
9 < Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
11 < This program is free software; you can redistribute it and/or modify
12 < it under the terms of the GNU General Public License as published by
13 < the Free Software Foundation; either version 2 of the License, or
14 < (at your option) any later version.
16 < This program is distributed in the hope that it will be useful,
17 < but WITHOUT ANY WARRANTY; without even the implied warranty of
18 < MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 < GNU General Public License for more details.
21 < You should have received a copy of the GNU General Public License
22 < along with this program; if not, write to the Free Software
23 < Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
24 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
26 <vlc id="if" param1="url_param 1 =" />
27 <vlc id="rpn" param1="input 'input' url_extract store" />
28 <vlc id="rpn" param1="command 'command' url_extract store" />
29 <vlc id="rpn" param1="id 'id' url_extract store" />
30 <vlc id="rpn" param1="val 'val' url_extract store" />
32 <!-- input commands -->
33 <vlc id="if" param1="command value 'in_play' strcmp 0 =" />
34 <vlc id="rpn" param1="input value dup playlist_add vlc_play" />
36 <vlc id="if" param1="command value 'in_enqueue' strcmp 0 =" />
37 <vlc id="rpn" param1="input value dup playlist_add" />
40 <!-- playlist commands -->
41 <vlc id="if" param1="command value 'pl_play' strcmp 0 =" />
42 <vlc id="rpn" param1="id value vlc_play" />
44 <vlc id="if" param1="command value 'pl_pause' strcmp 0 =" />
45 <vlc id="rpn" param1="vlc_pause" />
47 <vlc id="if" param1="command value 'pl_stop' strcmp 0 =" />
48 <vlc id="rpn" param1="vlc_stop" />
50 <vlc id="if" param1="command value 'pl_next' strcmp 0 =" />
51 <vlc id="rpn" param1="vlc_next" />
53 <vlc id="if" param1="command value 'pl_previous' strcmp 0 =" />
55 <vlc id="rpn" param1="vlc_previous" />
56 <vlc id="rpn" param1="vlc_previous" />
58 <vlc id="if" param1="command value 'pl_delete' strcmp 0 =" />
59 <vlc id="rpn" param1="id value playlist_delete" />
61 <vlc id="if" param1="command value 'pl_empty' strcmp 0 =" />
62 <vlc id="rpn" param1="playlist_empty" />
64 <vlc id="if" param1="command value 'pl_sort' strcmp 0 =" />
65 <vlc id="rpn" param1="" /> <!-- FIXME -->
67 <vlc id="if" param1="command value 'pl_random' strcmp 0 =" />
68 <vlc id="rpn" param1="'random' 'VLC_OBJECT_PLAYLIST' vlc_var_get ! 'random' 'VLC_OBJECT_PLAYLIST' vlc_var_set" />
70 <vlc id="if" param1="command value 'pl_loop' strcmp 0 =" />
71 <vlc id="rpn" param1="'loop' 'VLC_OBJECT_PLAYLIST' vlc_var_get ! 'loop' 'VLC_OBJECT_PLAYLIST' vlc_var_set" />
73 <vlc id="if" param1="command value 'pl_repeat' strcmp 0 =" />
74 <vlc id="rpn" param1="'repeat' 'VLC_OBJECT_PLAYLIST' vlc_var_get 1 + 2 % 'repeat' 'VLC_OBJECT_PLAYLIST' vlc_var_set" />
77 <!-- misc commands -->
78 <vlc id="if" param1="command value 'fullscreen' strcmp 0 =" />
79 <vlc id="if" param1="'VLC_OBJECT_VOUT' vlc_obj_exists" />
80 <vlc id="rpn" param1="'fullscreen' 'VLC_OBJECT_VOUT' vlc_var_get ! 'fullscreen' 'VLC_OBJECT_VOUT' vlc_var_set" />
83 <vlc id="if" param1="command value 'volume' strcmp 0 =" />
84 <vlc id="rpn" param1="val value vlc_volume_set" />
86 <vlc id="if" param1="command value 'seek' strcmp 0 =" />
87 <vlc id="rpn" param1="val value vlc_seek" />
92 <volume><vlc id="value" param1="volume" /></volume>
93 <length><vlc id="value" param1="stream_length" /></length>
94 <time><vlc id="value" param1="stream_time" /></time>
95 <state><vlc id="value" param1="stream_state" /></state>
96 <position><vlc id="value" param1="stream_position" /></position>
97 <fullscreen><vlc id="if" param1="'VLC_OBJECT_VOUT' vlc_obj_exists" /><vlc id="value" param1="'fullscreen' 'VLC_OBJECT_VOUT' vlc_var_get" /><vlc id="end" /></fullscreen>
98 <loop><vlc id="value" param1="'loop' 'VLC_OBJECT_PLAYLIST' vlc_var_get"/></loop>
99 <repeat><vlc id="value" param1="'repeat' 'VLC_OBJECT_PLAYLIST' vlc_var_get" /></repeat>