]> git.sesse.net Git - vlc/blob - share/http/index.html
* http interface: media/schedule show page before edit page
[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,move" />
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="nowrap">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         <td nowrap="nowrap">
28           <form method="get" action="">
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           </form>
35         </td>
36       </tr>
37       <tr>
38        <td colspan="2">
39         <table>
40          <tr>
41            <td>
42              <form method="get" action="">
43                <input type="submit" name="seek_value" value="-1min"/><input type="hidden" name="control" value="seek"/>
44              </form>
45            </td>
46            <td>
47              <form method="get" action="">
48                <input type="text" name="seek_value" size="14"/><input type="hidden" name="control" value="seek"/>
49              </form>
50            </td>
51            <td>
52              <form method="get" action="">
53                <input type="submit" name="seek_value" value="+1min"/><input type="hidden" name="control" value="seek"/>
54              </form>
55            </td>
56            <td>
57             ( Seek Textbox: for example "+12min 42sec", "01:13:43", "-12%" etc... )
58            </td>
59          </tr>
60         </table>
61        </td>
62       </tr>
63       <tr>
64         <td>
65           <form method="get" action="">
66           Current volume level: <vlc id="value" param1="volume" /> <input type="text" name="value" size="5"/><button name="control" value="volume">Set</button>
67           </form>
68         </td>
69       </tr>
70      </table>
71     </div>
72     <div class="sectitle">Add</div>
73     <div class="section">
74      <form method="get" action="" enctype="text/plain" >
75       <table class="add">
76        <tr>
77         <td>Add a MRL (Media Resource Locator) to the playlist</td>
78         <td><input type="text" name="mrl" size="40" /><input type="submit" name="control" value="add" /></td>
79        </tr>
80        <tr>
81         <td>Stream Output:</td>
82         <td><input type="text" name="sout" size="40" value="<vlc id="get" param1="sout" param2="string" />" /><input type="submit" name="control" value="sout" /></td>
83        </tr>
84       </table>
85      </form>
86     </div>
87
88     <div class="sectitle">Move Item</div>
89      <div class="section">
90       <form method="get" action="">
91        Move the item number <input type="text" name="psz_pos" size="5" /> to <input type="text" name="psz_newpos" size="5" /> <input type="submit" name="control" value="move" />
92       </form>
93      </div>
94     </div>
95
96     <div class="sectitle">VLC Playlist</div>
97      <div class="section">
98       <form method="get" action="">
99       <table>
100         <tr>
101           <td>
102             <input type="submit" name="control" value="sort" /> by
103             <select name="type">
104               <option value="title">title</option>
105               <option value="group">group</option>
106               <option value="author">author</option>
107               <option value="shuffle">shuffle</option>
108             </select> with
109             <select name="order">
110               <option value="0">normal order</option>
111               <option value="1">reverse order</option>
112             </select>
113           </td>
114         </tr>
115         <tr>
116           <td>
117             <table>
118               <vlc id="foreach" param1="pl" param2="playlist" />
119               <tr class="<vlc id="if" param1="pl.index 2 % 0 =" />ligne1<vlc id="else" />ligne2<vlc id="end" />">
120                 <td>
121                   <input type="checkbox" name="item" value="<vlc id="value" param1="pl.index" />"/>
122                   <vlc id="if" param1="pl.current" />
123                   <b>
124                   <vlc id="end" />
125                   <a href="?control=play&amp;item=<vlc id="value" param1="pl.index" />">
126                   <vlc id="value" param1="pl.index" /> - <vlc id="value" param1="pl.uri" /><vlc id="if" param1="pl.uri value pl.name value strcmp"/>  (<vlc id="value" param1="pl.name" />)<vlc id="end"/></a>
127                   <vlc id="if" param1="pl.current" />
128                   </b>
129                   <vlc id="end" />
130                 </td>
131               </tr>
132               <vlc id="end" />
133             </table>
134           </td>
135         </tr>
136         <tr>  
137           <td>
138             <input type="submit" name="control" value="delete" />
139             <input type="submit" name="control" value="keep" />
140           </td>
141         </tr>
142       </table>
143       </form>
144     </div>
145     <hr/>
146     <p> <vlc id="value" param1="copyright" /> </p>
147 </body>
148 </html>