]> git.sesse.net Git - vlc/blob - share/http/index.html
* http.c : added parsing of options in Add MRL option. In http.c is a the
[vlc] / share / http / index.html
1 <?xml version="1.0" encoding="iso-8859-1" ?>
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" />
8
9     <vlc id="if" param1="url_param"/>
10         <meta http-equiv="refresh" content="0;URL=/" />
11     <vlc id="end" />
12
13     <vlc id="control" param1="stop,pause,previous,next,add,sout,play,delete,empty,seek,fullscreen,keep,volume,sort" />
14     <vlc id="set" param1="sout" param2="string" />
15  </head>
16  <body>
17     <h2>
18      <a href="http://www.videolan.org">VLC Media Player <vlc id="value" param1="version" /></a> (http interface)</h2>
19     <div class="sectitle">Control VLC</div>
20     <div class="section">
21      <table class="add">
22       <tr>
23        <td nowrap="1">Current State: <vlc id="value" param1="stream_state" /></td>
24        <td align="right"><a href="info.html">Information</a> <a href="admin/">Administration</a></td>
25       </tr>
26       <tr>
27        <form method="get" action="">
28         <td nowrap="1">
29          <input type="submit" name="control" value="stop" />
30          <input type="submit" name="control" value="pause" />
31          <input type="submit" name="control" value="previous" />
32          <input type="submit" name="control" value="next" />
33          <input type="submit" name="control" value="fullscreen" />
34         </td>
35        </form>
36        <form>
37         <td align="right" nowrap="1">
38          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">
39         </td>
40        </form>
41       </tr>
42       <tr>
43        <td colspan="2">
44         <table>
45          <tr>
46           <form>
47            <td><input type="submit" name="seek_value" value="-1min"><input type="hidden" name="control" value="seek"></td>
48           </form>
49           <form>
50            <td><input type="text" name="seek_value" size="14"><input type="hidden" name="control" value="seek"></td>
51           </form>
52           <form>
53            <td><input type="submit" name="seek_value" value="+1min"><input type="hidden" name="control" value="seek"></td>
54           </form>
55            <td>
56             ( Seek Textbox: for example "+12min 42sec", "01:13:43", "-12%" etc... )
57            </td>
58          </tr>
59         </table>
60        </td>
61       </tr>
62      </table>
63     </div>
64     <div class="sectitle">Add</div>
65     <div class="section">
66      <form method="get" action="" enctype="text/plain" >
67       <table class="add">
68        <tr>
69         <td>Add a MRL (Media Resource Locator) to the playlist</td>
70         <td><input type="text" name="mrl" size="40" /><input type="submit" name="control" value="add" /></td>
71        </tr>
72        <tr>
73         <td>Stream Output:</td>
74         <td><input type="text" name="sout" size="40" value="<vlc id="get" param1="sout" param2="string" />" /><input type="submit" name="control" value="sout" /></td>
75        </tr>
76       </table>
77      </form>
78     </div>
79
80     <div class="sectitle">VLC Playlist</div>
81      <div class="section"> 
82       <tr>
83        <td>
84         <form>
85          <input type="submit" name="control" value="sort" /> by
86          <select name="type">
87           <option value="title">title
88           <option value="group">group
89           <option value="author">author
90          </select> with
91          <select name="order">
92           <option value="0">normal order
93           <option value="1">reverse order
94          </select>
95         </form>
96        </td>
97       </tr>
98       <form method="get" action="">
99       <table>
100        <vlc id="foreach" param1="pl" param2="playlist" />
101         <tr class="<vlc id="if" param1="2 pl.index % 0 =" />ligne1<vlc id="else" />ligne2<vlc id="end" />">
102          <td>
103           <input type=checkbox name="item" value="<vlc id="value" param1="pl.index" />">
104           <vlc id="if" param1="pl.current" />
105                <b>
106            <vlc id="end" />
107            <a href="?control=play&item=<vlc id="value" param1="pl.index" />"><vlc id="value" param1="pl.index" /> - <vlc id="value" param1="pl.name" /></a>
108           <vlc id="if" param1="pl.current" />
109                </b>
110           <vlc id="end" />
111          </td>
112         </tr>
113        <vlc id="end" />
114       </table>
115       <td><input type="submit" name="control" value="delete" /></td>
116       <td><input type="submit" name="control" value="keep" /></td>
117      </form>
118     </div>
119     <hr/>
120     <p> <vlc id="value" param1="copyright" /> </p>
121 </body>
122 </html>