home *** CD-ROM | disk | FTP | other *** search
/ Minami 81 / MINAMI81.ISO / Extra / vlc-0.8.6a-win32.exe / http / requests / playlist.xml < prev    next >
Extensible Markup Language  |  2007-01-04  |  3KB  |  56 lines

  1. <?xml version="1.0" encoding="<vlc id="value" param1="charset"/>" standalone="yes" ?>
  2. <vlc id="if" param1="0"/>
  3. <!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
  4. <  playlist.xml: VLC media player web interface
  5. < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
  6. <  Copyright (C) 2005-2006 the VideoLAN team
  7. <  $Id: playlist.xml 14907 2006-03-24 14:17:28Z dionoea $
  8. <  Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
  9. <  This program is free software; you can redistribute it and/or modify
  10. <  it under the terms of the GNU General Public License as published by
  11. <  the Free Software Foundation; either version 2 of the License, or
  12. <  (at your option) any later version.
  13. <  This program is distributed in the hope that it will be useful,
  14. <  but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. <  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. <  GNU General Public License for more details.
  17. <  You should have received a copy of the GNU General Public License
  18. <  along with this program; if not, write to the Free Software
  19. <  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  20. < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  21. <vlc id="end"/>
  22.  
  23. <vlc id="rpn" param1="first_item 0 store" />
  24. <vlc id="rpn" param1="last_depth 0 store" />
  25. <vlc id="foreach" param1="pl" param2="playlist" />
  26.   <vlc id="if" param1="pl.depth value last_depth value <" />
  27.     <vlc id="rpn" param1="pl.depth value ':' last_depth value 1 - ':' 1 strcat strcat strcat strcat" />
  28.     <vlc id="foreach" param1="the_final_countdown" param2="integer" />
  29.       </node>
  30.     <vlc id="end" />
  31.   <vlc id="end" />
  32.   <vlc id="if" param1="pl.type value 'Node' strcmp" />
  33.     <vlc id="rpn" param1="1 +" />
  34.     <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" />" ro="<vlc id="value" param1="pl.ro" />" duration="<vlc id="value" param1="pl.duration" />" />
  35.   <vlc id="else" />
  36.     <node id="<vlc id="value" param1="pl.index" />" name="<vlc id="value" param1="pl.name value '&' '&' str_replace" />" ro="<vlc id="value" param1="pl.ro" />" >
  37.     <vlc id="if" param1="first_item value 0 ="/>
  38.       <vlc id="rpn" param1="first_item 1 store" />
  39.     <vlc id="end"/>
  40.     <vlc id="if" param1="pl.i_children 0 !=" />
  41.       
  42.     <vlc id="else" />
  43.       </node>
  44.     <vlc id="end" />
  45.   <vlc id="end" />
  46.   <vlc id="rpn" param1="last_depth pl.depth value store" />
  47. <vlc id="end" />
  48. <vlc id="rpn" param1="0 ':' last_depth value 1 - ':' 1 strcat strcat strcat strcat" />
  49. <vlc id="foreach" param1="the_final_countdown" param2="integer" />
  50.   </node>
  51. <vlc id="end" />
  52.