Mosaic wizard: audio stuff was missing
[vlc.git] / share / http / requests / vlm.xml
1 <?xml version="1.0" encoding="<vlc id="value" param1="charset"/>" standalone="yes" ?>
2 <vlc id="if" param1="0"/>
3 <!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
4 <  vlm.xml: VLC media player web interface
5 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
6 <  Copyright (C) 2005-2006 the VideoLAN team
7 <  $Id$
8
9 <  Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
10
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.
15
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.
20
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 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
25 <vlc id="end"/>
26
27 <vlm>
28 <vlc id="foreach" param1="el" param2="vlm"  />
29   <vlc id="if" param1="el.type value 'broadcast' strcmp 0 =" />
30     <broadcast name="<vlc id="value" param1="el.name"/>" enabled="<vlc id="value" param1="el.enabled" />" loop="<vlc id="value" param1="el.loop"/>">
31       <output><vlc id="value" param1="el.output" /></output>
32       <inputs>
33         <vlc id="foreach" param1="in" param2="el.inputs" />
34           <input><vlc id="value" param1="in" /></input>
35         <vlc id="end" />
36       </inputs>
37       <options>
38         <vlc id="foreach" param1="opt" param2="el.options" />
39           <option><vlc id="value" param1="opt" /></option>
40         <vlc id="end" />
41       </options>
42       <instances>
43         <vlc id="foreach" param1="inst" param2="el.instances" />
44           <instance name="<vlc id="value" param1="inst.name"/>" state="<vlc id="value" param1="inst.state"/>" position="<vlc id="value" param1="inst.position"/>" time="<vlc id="value" param1="inst.time"/>" length="<vlc id="value" param1="inst.length"/>" rate="<vlc id="value" param1="inst.rate"/>" title="<vlc id="value" param1="inst.title"/>" chapter="<vlc id="value" param1="inst.chapter"/>" seekable="<vlc id="value" param1="inst.seekable"/>" playlistindex="<vlc id="value" param1="inst.playlistindex"/>" />
45         <vlc id="end" />
46       </instances>
47     </broadcast>
48   <vlc id="else" />
49     <vlc id="if" param1="el.type value 'vod' strcmp 0 =" />
50       <vod name="<vlc id="value" param1="el.name"/>" enabled="<vlc id="value" param1="el.enabled" />">
51         <output><vlc id="value" param1="el.output" /></output>
52         <inputs>
53           <vlc id="foreach" param1="in" param2="el.inputs" />
54             <input><vlc id="value" param1="in" /></input>
55           <vlc id="end" />
56         </inputs>
57         <options>
58           <vlc id="foreach" param1="opt" param2="el.options" />
59             <option><vlc id="value" param1="opt" /></option>
60           <vlc id="end" />
61         </options>
62       <instances>
63         <vlc id="foreach" param1="inst" param2="el.instances" />
64           <instance name="<vlc id="value" param1="inst.name"/>" state="<vlc id="value" param1="inst.state"/>" position="<vlc id="value" param1="inst.position"/>" time="<vlc id="value" param1="inst.time"/>" length="<vlc id="value" param1="inst.length"/>" rate="<vlc id="value" param1="inst.rate"/>" title="<vlc id="value" param1="inst.title"/>" chapter="<vlc id="value" param1="inst.chapter"/>" seekable="<vlc id="value" param1="inst.seekable"/>" playlistindex="<vlc id="value" param1="inst.playlistindex"/>" />
65         <vlc id="end" />
66       </instances>
67       </vod>
68     <vlc id="else" />
69       <schedule name="<vlc id="value" param1="el.name"/>" enabled="<vlc id="value" param1="el.enabled" />" date="<vlc id="value" param1="el.date"/>" period="<vlc id="value" param1="el.period"/>" repeat="<vlc id="value" param1="el.repeat"/>">
70         <commands>
71           <vlc id="foreach" param1="com" param2="el.commands" />
72             <command><vlc id="value" param1="com" /></command>
73           <vlc id="end" />
74         </commands>
75       </schedule>
76     <vlc id="end" />
77   <vlc id="end" />
78 <vlc id="end" />
79 </vlm>