]> git.sesse.net Git - vlc/blobdiff - share/http/index.html
* index.html: oops (forgot refresh cludge)
[vlc] / share / http / index.html
index 51b4631cd6a587b4cb851a4742702b0427194c4d..7f47d9ce03f430d5473a452fd97dd3ffbbc30f9c 100644 (file)
         <meta http-equiv="refresh" content="0;URL=/" />
     <vlc id="end" />
 
-    <vlc id="control" param1="stop,pause,previous,next,add,sout,play,delete,empty,seek,fullscreen,keep" />
+    <vlc id="control" param1="stop,pause,previous,next,add,sout,play,delete,empty,seek,fullscreen,keep,volume,sort" />
     <vlc id="set" param1="sout" param2="string" />
  </head>
  <body>
     <h2>
      <a href="http://www.videolan.org">VLC Media Player <vlc id="value" param1="version" /></a> (http interface)</h2>
     <div class="sectitle">Control VLC</div>
-    <div class="section">   
-     <form method="get" action="">
-      <table class="add">
-       <tr>
-        <td><input type="submit" name="control" value="stop" /></td>
-        <td><input type="submit" name="control" value="pause" /></td>
-        <td><input type="submit" name="control" value="previous" /></td>
-        <td><input type="submit" name="control" value="next" /></td>
-        <td><input type="submit" name="control" value="fullscreen" /></td>
-        <td><a href="info.html">Informations</a></td>
-        <td><a href="admin/">Administration</a></td>
-       </tr>
-      </table>
-     </form>
-     <form>
-      <table>
-       <tr>
-        <td>Seek (in percentage): <input type="text" name="percent" size="3">%<input type="submit" name="control" value="seek"></td>
-       </tr>
-      </table>
-     </form>
+    <div class="section">
+     <table class="add">
+      <tr>
+       <td nowrap="1">Current State: <vlc id="value" param1="stream_state" /></td>
+       <td align="right"><a href="info.html">Information</a> <a href="admin/">Administration</a></td>
+      </tr>
+      <tr>
+       <form method="get" action="">
+        <td nowrap="1">
+         <input type="submit" name="control" value="stop" />
+         <input type="submit" name="control" value="pause" />
+         <input type="submit" name="control" value="previous" />
+         <input type="submit" name="control" value="next" />
+         <input type="submit" name="control" value="fullscreen" />
+        </td>
+       </form>
+      </tr>
+      <tr>
+       <td colspan="2">
+        <table>
+         <tr>
+          <form>
+           <td><input type="submit" name="seek_value" value="-1min"><input type="hidden" name="control" value="seek"></td>
+          </form>
+          <form>
+           <td><input type="text" name="seek_value" size="14"><input type="hidden" name="control" value="seek"></td>
+          </form>
+          <form>
+           <td><input type="submit" name="seek_value" value="+1min"><input type="hidden" name="control" value="seek"></td>
+          </form>
+           <td>
+            ( Seek Textbox: for example "+12min 42sec", "01:13:43", "-12%" etc... )
+           </td>
+         </tr>
+        </table>
+       </td>
+      </tr>
+      <tr>
+       <form>
+        <td>
+         Current Volume: <vlc id="value" param1="volume" /> <input type="text" name="value" size="5"><input type="hidden" name="control" value="volume"><input type="submit" name="Set" value="Set">
+        </td>
+       </form>
+      </tr>
+     </table>
     </div>
     <div class="sectitle">Add</div>
     <div class="section">
       <table class="add">
        <tr>
         <td>Add a MRL (Media Resource Locator) to the playlist</td>
-        <td><input type="text" name="mrl" size="40" /></td>
-        <td><input type="submit" name="control" value="add" /></td>
+        <td><input type="text" name="mrl" size="40" /><input type="submit" name="control" value="add" /></td>
        </tr>
        <tr>
         <td>Stream Output:</td>
-        <td><input type="text" name="sout" size="40" value="<vlc id="get" param1="sout" param2="string" />" /></td>
-        <td><input type="submit" name="control" value="sout" /></td>
+        <td><input type="text" name="sout" size="40" value="<vlc id="get" param1="sout" param2="string" />" /><input type="submit" name="control" value="sout" /></td>
        </tr>
       </table>
      </form>
     </div>
-  
-    <div class="sectitle">VLC Playlist</div>
-    <div class="section"> 
 
-    <form method="get" action="">
-     <table>
-        <vlc id="foreach" param1="pl" param2="playlist" />
-          <tr class="<vlc id="if" param1="2 pl.index % 0 =" />ligne1<vlc id="else" />ligne2<vlc id="end" />">
-          <td>
-           <input type=checkbox name="item" value="<vlc id="value" param1="pl.index" />">
-           <vlc id="if" param1="pl.current" />
-                <b>
-            <vlc id="end" />
-            <a href="?control=play&item=<vlc id="value" param1="pl.index" />"><vlc id="value" param1="pl.index" /> - <vlc id="value" param1="pl.name" /></a>            <vlc id="if" param1="pl.current" />
-                </b>
-            <vlc id="end" />
-          </td></tr>
-        <vlc id="end" />
-     </table>
-     <td><input type="submit" name="control" value="delete" /></td>
-     <td><input type="submit" name="control" value="keep" /></td>
-    </form>
+    <div class="sectitle">VLC Playlist</div>
+     <div class="section"> 
+      <tr>
+       <td>
+        <form>
+         <input type="submit" name="control" value="sort" /> by
+         <select name="type">
+          <option value="title">title
+          <option value="group">group
+          <option value="author">author
+         </select> with
+         <select name="order">
+          <option value="0">normal order
+          <option value="1">reverse order
+         </select>
+        </form>
+       </td>
+      </tr>
+      <form method="get" action="">
+      <table>
+       <vlc id="foreach" param1="pl" param2="playlist" />
+        <tr class="<vlc id="if" param1="pl.index 2 % 0 =" />ligne1<vlc id="else" />ligne2<vlc id="end" />">
+         <td>
+          <input type=checkbox name="item" value="<vlc id="value" param1="pl.index" />">
+          <vlc id="if" param1="pl.current" />
+               <b>
+           <vlc id="end" />
+           <a href="?control=play&item=<vlc id="value" param1="pl.index" />"><vlc id="value" param1="pl.index" /> - <vlc id="value" param1="pl.name" /></a>
+          <vlc id="if" param1="pl.current" />
+               </b>
+          <vlc id="end" />
+         </td>
+        </tr>
+       <vlc id="end" />
+      </table>
+      <td><input type="submit" name="control" value="delete" /></td>
+      <td><input type="submit" name="control" value="keep" /></td>
+     </form>
     </div>
     <hr/>
     <p> <vlc id="value" param1="copyright" /> </p>
 </body>
 </html>
-