home *** CD-ROM | disk | FTP | other *** search
/ Minami 78 / MINAMI78.iso / Extra / vlc-0.8.5-win32.exe / http / requests / status.xml < prev    next >
Extensible Markup Language  |  2006-05-06  |  7KB  |  137 lines

  1. <?xml version="1.0" encoding="<vlc id="value" param1="charset"/>" 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
  7. <  $Id: status.xml 15238 2006-04-15 16:00:45Z 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. <vlc id="if" param1="url_param 1 =" />
  23.   <vlc id="rpn" param1="input 'input' url_extract store" />
  24.   <vlc id="rpn" param1="command 'command' url_extract store" />
  25.   <vlc id="rpn" param1="id 'id' url_extract store" />
  26.   <vlc id="rpn" param1="val 'val' url_extract store" />
  27.  
  28.   <!-- input commands -->
  29.   <vlc id="if" param1="command value 'in_play' strcmp 0 =" />
  30.     <vlc id="rpn" param1="input value dup stripslashes playlist_add vlc_play" />
  31.   <vlc id="end" />
  32.   <vlc id="if" param1="command value 'in_enqueue' strcmp 0 =" />
  33.     <vlc id="rpn" param1="input value dup stripslashes playlist_add" />
  34.   <vlc id="end" />
  35.  
  36.   <!-- playlist commands -->
  37.   <vlc id="if" param1="command value 'pl_play' strcmp 0 =" />
  38.     <vlc id="rpn" param1="id value vlc_play" />
  39.   <vlc id="end" />
  40.   <vlc id="if" param1="command value 'pl_pause' strcmp 0 =" />
  41.     <vlc id="if" param1="stream_state value 'stop' strcmp 0 = id value 0 = ! &" />
  42.       <vlc id="rpn" param1="id value vlc_play"/>
  43.     <vlc id="else" />
  44.       <vlc id="rpn" param1="vlc_pause" />
  45.     <vlc id="end" />
  46.   <vlc id="end" />
  47.   <vlc id="if" param1="command value 'pl_stop' strcmp 0 =" />
  48.     <vlc id="rpn" param1="vlc_stop" />
  49.   <vlc id="end" />
  50.   <vlc id="if" param1="command value 'pl_next' strcmp 0 =" />
  51.     <vlc id="rpn" param1="vlc_next" />
  52.   <vlc id="end" />
  53.   <vlc id="if" param1="command value 'pl_previous' strcmp 0 =" />
  54.     <!-- FIXME -->
  55.     <vlc id="rpn" param1="vlc_previous" />
  56.     <vlc id="rpn" param1="vlc_previous" />
  57.   <vlc id="end" />
  58.   <vlc id="if" param1="command value 'pl_delete' strcmp 0 =" />
  59.     <vlc id="rpn" param1="id value playlist_delete" />
  60.   <vlc id="end" />
  61.   <vlc id="if" param1="command value 'pl_empty' strcmp 0 =" />
  62.     <vlc id="rpn" param1="playlist_empty" />
  63.   <vlc id="end" />
  64.   <vlc id="if" param1="command value 'pl_sort' strcmp 0 =" />
  65.     <vlc id="rpn" param1="val value id value playlist_sort" />
  66.   <vlc id="end" />
  67.   <vlc id="if" param1="command value 'pl_random' strcmp 0 =" />
  68.     <vlc id="rpn" param1="'random' 'VLC_OBJECT_PLAYLIST' vlc_var_get 1 + 2 % 'random' 'VLC_OBJECT_PLAYLIST' vlc_var_set" />
  69.   <vlc id="end" />
  70.   <vlc id="if" param1="command value 'pl_loop' strcmp 0 =" />
  71.     <vlc id="rpn" param1="'loop' 'VLC_OBJECT_PLAYLIST' vlc_var_get 1 + 2 %  'loop' 'VLC_OBJECT_PLAYLIST' vlc_var_set" />
  72.   <vlc id="end" />
  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" />
  75.   <vlc id="end" />
  76.   <vlc id="if" param1="command value 'pl_sd' strcmp 0 =" />
  77.     <vlc id="if" param1="val value services_discovery_is_loaded" />
  78.       <vlc id="rpn" param1="val value services_discovery_remove" />
  79.     <vlc id="else" />
  80.       <vlc id="rpn" param1="val value services_discovery_add" />
  81.     <vlc id="end" />
  82.   <vlc id="end" />
  83.  
  84.   <!-- misc commands -->
  85.   <vlc id="if" param1="command value 'fullscreen' strcmp 0 =" />
  86.     <vlc id="if" param1="'VLC_OBJECT_VOUT' vlc_object_exists" />
  87.       <vlc id="rpn" param1="'fullscreen' 'VLC_OBJECT_VOUT' vlc_var_get ! 'fullscreen' 'VLC_OBJECT_VOUT' vlc_var_set" />
  88.     <vlc id="end" />
  89.   <vlc id="end" />
  90.   <vlc id="if" param1="command value 'volume' strcmp 0 =" />
  91.     <vlc id="rpn" param1="val value vlc_volume_set" />
  92.   <vlc id="end"/>
  93.   <vlc id="if" param1="command value 'seek' strcmp 0 =" />
  94.     <vlc id="rpn" param1="val value vlc_seek" />
  95.   <vlc id="end"/>
  96.  
  97. <vlc id="end" />
  98. <root>
  99.   <volume><vlc id="value" param1="volume" /></volume>
  100.   <length><vlc id="value" param1="stream_length" /></length>
  101.   <time><vlc id="value" param1="stream_time" /></time>
  102.   <state><vlc id="value" param1="stream_state" /></state>
  103.   <position><vlc id="value" param1="stream_position" /></position>
  104.   <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>
  105.   <random><vlc id="value" param1="'random' 'VLC_OBJECT_PLAYLIST' vlc_var_get" /></random>
  106.   <loop><vlc id="value" param1="'loop' 'VLC_OBJECT_PLAYLIST' vlc_var_get" /></loop>
  107.   <repeat><vlc id="value" param1="'repeat' 'VLC_OBJECT_PLAYLIST' vlc_var_get" /></repeat>
  108.   <information>
  109.     <vlc id="foreach" param1="inf" param2="information" />
  110.       <category name="<vlc id="value" param1="inf.name" />">
  111.         <vlc id="foreach" param1="subinf" param2="inf.info" />
  112.           <info name="<vlc id="value" param1="subinf.name" />"><vlc id="value" param1="subinf.value" /></info>
  113.         <vlc id="end" />
  114.       </category>
  115.     <vlc id="end" />
  116.   </information>
  117.   <stats>
  118.     <readbytes><vlc id="value" param1="read_bytes" /></readbytes>
  119.     <inputbitrate><vlc id="value" param1="input_bitrate" /></inputbitrate>
  120.     <demuxreadbytes><vlc id="value" param1="demux_read_bytes" /></demuxreadbytes>
  121.     <demuxbitrate><vlc id="value" param1="demux_bitrate" /></demuxbitrate>
  122.     <decodedvideo><vlc id="value" param1="decoded_video" /></decodedvideo>
  123.     <displayedpictures><vlc id="value" param1="displayed_pictures" /></displayedpictures>
  124.     <lostpictures><vlc id="value" param1="lost_pictures" /></lostpictures>
  125.     <decodedaudio><vlc id="value" param1="decoded_audio" /></decodedaudio>
  126.     <playedabuffers><vlc id="value" param1="played_abuffers" /></playedabuffers>
  127.     <lostabuffers><vlc id="value" param1="lost_abuffers" /></lostabuffers>
  128.     <sentpackets><vlc id="value" param1="sent_packets" /></sentpackets>
  129.     <sentbytes><vlc id="value" param1="sent_bytes" /></sentbytes>
  130.     <sendbitrate><vlc id="value" param1="send_bitrate" /></sendbitrate>
  131.   </stats>
  132. </root>
  133.