1 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
3 < playlist.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="rpn" param1="first_item 0 store" />
26 <vlc id="rpn" param1="last_depth 0 store" />
27 <vlc id="foreach" param1="pl" param2="playlist" />
28 <vlc id="if" param1="pl.depth value last_depth value <" />
29 <vlc id="rpn" param1="pl.depth value ':' last_depth value 1 - ':' 1 strcat strcat strcat strcat" />
30 <vlc id="foreach" param1="the_final_countdown" param2="integer" />
34 <vlc id="if" param1="pl.type value 'Node' strcmp" />
35 <vlc id="rpn" param1="1 +" />
36 <leaf id="<vlc id="value" param1="pl.index" />" <vlc id="if" param1="pl.current" /> current="current" <vlc id="end" /> uri="<vlc id="value" param1="pl.uri value '&' '&' str_replace" />" name="<vlc id="value" param1="pl.name value '&' '&' str_replace" />" />
38 <node id="<vlc id="value" param1="pl.index" />" name="<vlc id="value" param1="pl.name value '&' '&' str_replace" />" >
39 <vlc id="if" param1="first_item value 0 ="/>
40 <vlc id="rpn" param1="first_item 1 store" />
42 <vlc id="if" param1="pl.i_children 0 !=" />
48 <vlc id="rpn" param1="last_depth pl.depth value store" />
50 <vlc id="rpn" param1="0 ':' last_depth value 1 - ':' 1 strcat strcat strcat strcat" />
51 <vlc id="foreach" param1="the_final_countdown" param2="integer" />