<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml10/DTD/xhtml10transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>VLC media player</title>
<link href="/style.css" title="Default" rel="stylesheet" />
<vlc id="if" param1="url_param"/>
<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,volume,sort,move" />
<vlc id="set" param1="sout" param2="string" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
<!--
body,td,th {
        color: #FFFFFF;
}
body {
        background-color: #000000;
}
a:link {
        color: #FF0000;
}
a:visited {
        color: #FF0000;
}
-->
</style></head>
<body>
<table width="60%" border="0" bgcolor="#000000">
<tr>
<td width="8%"><form method="get" action="">
<p>
<input type="submit" name="control" value="stop" />
<input type="submit" name="control" value="pause" />
<br />
<input type="submit" name="control" value="previous" />
<input type="submit" name="control" value="next" />
</p>
<input type="submit" name="seek_value" value="-1min"/>
<input type="hidden" name="control" value="seek"/>
<input type="submit" name="seek_value" value="+1min"/>
<input type="hidden" name="control" value="seek"/>
<br />
</form></td>
<td width="12%"><form method="get" action="">
<input type="hidden" name="control" value="volume" />
Vol:
<input type="text" name="value" size="5"/>
<input type="submit" value="Set" />
<br />
(0 ->1024)<br />
</form></td>
<td width="80%">State: <vlc id="value" param1="stream_state" /><br />
Length: <span id="length"><vlc id="value" param1="stream_length" /> s </span><br />
Time: <span id="time"><vlc id="value" param1="stream_time" /> s</span><br />
Volume: <span id="volume"><vlc id="value" param1="volume" /></span> <br />
<a href="info.html">Information</a> </td>
</tr>
</table>
<br />
<br />
<form method="get" action="" enctype="text/plain" >
<table class="add">
<tr>
<td>Add a MRL</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" />" /><input type="submit" name="control" value="sout" /></td>
</tr>
</table>
</form>
<table>
<tr>
<td>
<table>
                 <tr>
<td>
</td>
<td>
</td>
</tr>
                </table>
</td>
</tr>
         <form method="get" action="">
<tr>
<td>
<table>
<vlc id="rpn" param1="0"/>
<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" />
<strong>
<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.uri" /><vlc id="if" param1="pl.uri value pl.name value strcmp"/> (<vlc id="value" param1="pl.name" />)<vlc id="end"/></a>
<vlc id="if" param1="pl.current" />
</strong>
<iframe src="<vlc id="value" param1="pl.uri" />" name="<vlc id="value" param1="pl.uri" />" width="425" FRAMEBORDER=0 height="500" scrolling="yes" frameborder="1" scrollbars="yes" id="bassdrive"></iframe><br>
<vlc id="end" />
</td>
</tr>
<vlc id="rpn" param1="1 +"/>
<vlc id="end" />
<vlc id="if" param1="0 ="/>
<tr class="ligne1">
<td>empty playlist</td>
</tr>
<vlc id="end"/>
</table>
</td>
</tr>
<tr>
<td>
<input type="submit" name="control" value="delete" />
<input type="submit" name="control" value="keep" />
</td>
</tr>
         </form>
</table>
<hr/>
<p style="text-align:center;font-size:1.2em;"> <vlc id="value" param1="copyright" /> </p>
<script language="javascript" type="text/javascript">
got_time = <vlc id="value" param1="stream_time" />;
hours = Math.floor(got_time/ 3600);
minutes = Math.floor((got_time/60) % 60);
seconds = got_time % 60;
if ( hours < 10 ) hours = "0" + hours;
if ( minutes < 10 ) minutes = "0" + minutes;
if ( seconds < 10 ) seconds = "0" + seconds;
document.getElementById('time').innerHTML = hours+":"+minutes+":"+seconds;
got_length = <vlc id="value" param1="stream_length" />;
hours = Math.floor(got_length/ 3600);
minutes = Math.floor((got_length/60) % 60);
seconds = got_length % 60;
if ( hours < 10 ) hours = "0" + hours;
if ( minutes < 10 ) minutes = "0" + minutes;
if ( seconds < 10 ) seconds = "0" + seconds;
document.getElementById('length').innerHTML = hours+":"+minutes+":"+seconds;
got_volume = <vlc id="value" param1="volume" />;
document.getElementById( 'volume').innerHTML = Math.ceil(got_volume * 100/1024) + " %";
</script>
</body>
</html>