home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 January / Gamestar_80_2006-01_dvd.iso / Programy / vlc-0.8.4-win32.exe / http / vlm / index.html < prev    next >
Encoding:
Extensible Markup Language  |  2005-11-26  |  5.8 KB  |  180 lines

  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD  XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml10/DTD/xhtml10transitional.dtd">
  3.  
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  5.  <head>
  6.     <title>VLC media player</title>
  7.     <link href="/style.css" title="Default" rel="stylesheet" type="text/css" />
  8.  
  9.     <vlc id="if" param1="url_param"/>
  10.         <meta http-equiv="refresh" content="0;URL=/vlm/" />
  11.     <vlc id="end" />
  12.  
  13.     <vlc id="control" param1="vlm_setup,vlm_new,vlm_del,vlm_play,vlm_pause,vlm_stop,vlm_seek,vlm_save,vlm_load" />
  14.  </head>
  15.  <body>
  16.     <h2>
  17.      <a href="http://www.videolan.org/">VLC media player <vlc id="value" param1="version" /></a> (http interface)</h2>
  18.      <h3>
  19.      The VLM http interface is currently brocken. You should use the telnet interface instead.
  20.      </h3>
  21.     <div class="sectitle">VLM - Configuration</div>
  22.     <div class="section">
  23.  
  24.     <form method="get" action="" />
  25.     <input type="test" name="file" size="40"/>
  26.     <button name="control" value="vlm_load">Load</button>
  27.     <button name="control" value="vlm_save">Save</button>
  28.     </form>
  29.     </div>
  30.  
  31.     <div class="sectitle">VLM - New</div>
  32.     <div class="section">
  33.  
  34.     <form method="get" action="/vlm/new.html" />
  35.     <input type="test" name="name" size="40"/>
  36.     <input type="submit" name="type" value="broadcast"/>
  37.     </form>
  38.  
  39.     <form method="get" action="/vlm/new.html" />
  40.     <input type="test" name="name" size="40"/>
  41.     <input type="submit" name="type" value="schedule"/>
  42.     </form>
  43.     </div>
  44.  
  45.     <div class="sectitle">VLM - Media</div>
  46.     <div class="section">
  47.     <table border="1">
  48.      <tr class="ligne2">
  49.       <td>Media</td>
  50.       <td>State</td>
  51.       <td>Control</td>
  52.      </tr>
  53. <vlc id="foreach" param1="el" param2="vlm" />
  54. <vlc id="if" param1="el.type value 'broadcast' strcmp 0 = " />
  55.      <tr>
  56.       <td>
  57.        <table>
  58.         <tr>
  59.          <td width="30%">
  60.           <form method="get" action="" />
  61.            <button name="control" value="vlm_del">del</button>
  62.            <input type="hidden" name="name" value="<vlc id="value" param1="el.name" />" />
  63.           </form>
  64.          </td>
  65.          <td><a href="/vlm/show.html?name=<vlc id="value" param1="el.name" />&type=broadcast"><vlc id="value" param1="el.name" /></a></td>
  66.         </tr>
  67.        </table>
  68.       </td>
  69.       <td>
  70. <vlc id="if" param1="el.enabled value 'yes' strcmp 0 = " />
  71.        <table>
  72.         <tr>
  73.          <td>
  74.           <vlc id="foreach" param1="instance" param2="el.instances" />
  75.            <vlc id="value" param1="instance" />
  76.           <vlc id="end" />
  77.          </td>
  78.          <td align="right">
  79.           <form method="get" action="" />
  80.            <input type="hidden" name="name" value="<vlc id="value" param1="el.name" />" />
  81.            <input type="hidden" name="disabled" value="" />
  82.            <button name="control" value="vlm_setup">disable</button>
  83.           </form>
  84.          </td>
  85.         </tr>
  86.        </table>
  87. <vlc id="else" />
  88.        <table>
  89.         <tr>
  90.          <td>disabled</td>
  91.          <td align="right">
  92.           <form method="get" action="" />
  93.            <input type="hidden" name="name" value="<vlc id="value" param1="el.name" />" />
  94.            <input type="hidden" name="enabled" value="" />
  95.            <button name="control" value="vlm_setup">enable</button>
  96.           </form>
  97.          </td>
  98.         </tr>
  99.        </table>
  100. <vlc id="end" />
  101.       </td>
  102.       <td>
  103. <vlc id="if" param1="el.enabled value 'yes' strcmp 0 = " />
  104.        <form method="get" action="" />
  105.         <input type="hidden" name="name" value="<vlc id="value" param1="el.name" />" />
  106.          <button name="control" value="vlm_stop">stop</button>
  107.          <button name="control" value="vlm_play">play</button>
  108.          <button name="control" value="vlm_pause">pause</button>
  109.         </form>
  110. <vlc id="end" />
  111.       </td>
  112.      </tr>
  113. <vlc id="end" />
  114. <vlc id="end" />
  115.     </table>
  116.     </div>
  117.  
  118.     <div class="sectitle">VLM - Schedule</div>
  119.     <div class="section">
  120.     <table border="1">
  121.      <tr class="ligne2">
  122.       <td>Schedule</td>
  123.       <td>State</td>
  124.      </tr>
  125. <vlc id="foreach" param1="el" param2="vlm" />
  126. <vlc id="if" param1="el.type value 'schedule' strcmp 0 = " />
  127.      <tr>
  128.       <td>
  129.        <table>
  130.         <tr>
  131.          <td width="30%">
  132.           <form method="get" action="" />
  133.            <button name="control" value="vlm_del">del</button>
  134.            <input type="hidden" name="name" value="<vlc id="value" param1="el.name" />" />
  135.           </form>
  136.          </td>
  137.          <td><a href="/vlm/show.html?name=<vlc id="value" param1="el.name" />&type=schedule"><vlc id="value" param1="el.name" /></a></td>
  138.         </tr>
  139.        </table>
  140.       </td>
  141.       <td>
  142. <vlc id="if" param1="el.enabled value 'yes' strcmp 0 = " />
  143.        <table>
  144.         <tr>
  145.          <td>enabled</td>
  146.          <td align="right">
  147.           <form method="get" action="" />
  148.            <input type="hidden" name="name" value="<vlc id="value" param1="el.name" />" />
  149.            <input type="hidden" name="disabled" value="" />
  150.            <button name="control" value="vlm_setup">disable</button>
  151.           </form>
  152.          </td>
  153.         </tr>
  154.        </table>
  155. <vlc id="else" />
  156.        <table>
  157.         <tr>
  158.          <td>disabled</td>
  159.          <td align="right">
  160.           <form method="get" action="" />
  161.            <input type="hidden" name="name" value="<vlc id="value" param1="el.name" />" />
  162.            <input type="hidden" name="enabled" value="" />
  163.            <button name="control" value="vlm_setup">enable</button>
  164.           </form>
  165.          </td>
  166.         </tr>
  167.        </table>
  168. <vlc id="end" />
  169.       </td>
  170.      </tr>
  171. <vlc id="end" />
  172. <vlc id="end" />
  173.     </table>
  174.     </div>
  175.  
  176.     <hr/>
  177.     <p> <vlc id="value" param1="copyright" /> </p>
  178. </body>
  179. </html>
  180.