You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index-1.html 7.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml10/DTD/xhtml10transitional.dtd">
  2. <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
  3. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  4. <!-- $Id: index.html 14777 2006-03-17 14:40:59Z jpsaman $-->
  5. <title>VLC media player</title>
  6. <link href="index-1_files/style.css" title="Default" rel="stylesheet" type="text/css">
  7. <!-- Work around. should be done in the code -->
  8. <meta http-equiv="Refresh" content="60;url=/old/">
  9. <script type="text/javascript">
  10. function changeMe(item)
  11. {
  12. if (item.parentNode.lastChild.style.display=="none")
  13. {
  14. item.parentNode.lastChild.style.display="block";
  15. item.alt="[-]";
  16. item.src="cone_minus.png";
  17. }
  18. else
  19. {
  20. item.parentNode.lastChild.style.display="none";
  21. item.alt="[+]";
  22. item.src="cone_plus.png";
  23. }
  24. }
  25. </script>
  26. </head><body>
  27. <!-- left menu -->
  28. <div class="left">
  29. <div class="sectitle">Playback control</div>
  30. <div class="section-controls">
  31. <p>
  32. </p><form method="get" action="" style="display: inline;">
  33. <input name="control" value="stop" type="submit">
  34. </form>
  35. <form method="get" action="" style="display: inline;">
  36. <input name="control" value="pause" type="submit">
  37. </form>
  38. <p>
  39. </p><form method="get" action="" style="display: inline;">
  40. <input name="control" value="previous" type="submit">
  41. </form>
  42. <form method="get" action="" style="display: inline;">
  43. <input name="control" value="next" type="submit">
  44. </form>
  45. <p>
  46. </p><form method="get" action="" style="display: inline;">
  47. <input name="seek_value" value="-1min" type="submit"><input name="control" value="seek" type="hidden">
  48. </form>
  49. <form method="get" action="" style="display: inline;">
  50. <input name="seek_value" value="+1min" type="submit"><input name="control" value="seek" type="hidden">
  51. </form>
  52. <p>
  53. </p><form method="get" action="">
  54. <input name="seek_value" size="14" type="text"><input name="control" value="seek" type="hidden">
  55. <input value="Seek" type="submit">
  56. </form>
  57. <p>
  58. <span class="small">( Seek Textbox: for example "+12min 42sec", "01:13:43", "-12%" etc... )</span>
  59. </p>
  60. </div> <!-- End section -->
  61. <div class="sectitle">Misc controls</div>
  62. <div class="section-controls">
  63. <form method="get" action="">
  64. <input name="control" value="volume" type="hidden">
  65. Vol: <input name="value" size="5" type="text">
  66. <input value="Set" type="submit"><br> (0 - 1024)<br><span class="small">(for example: "536", "-12", "+42", "36%")</span>
  67. </form>
  68. <br>
  69. <form method="get" action="">
  70. <input name="control" value="fullscreen" type="submit">
  71. </form>
  72. </div>
  73. <div class="sectitle">Status</div>
  74. <div class="section">
  75. State: playing<br>
  76. Length: <span id="length">249 s
  77. </span><br>
  78. Time: <span id="time">38 s</span><br>
  79. Volume: <span id="volume">56</span>
  80. <br><a href="http://127.0.0.1:8082/old/info.html">Information</a>
  81. </div>
  82. <div class="section"><a href="http://127.0.0.1:8082/old/admin/">Administration Page</a></div>
  83. </div>
  84. <!-- end left -->
  85. <!-- main content -->
  86. <div class="right">
  87. <h2 class="title"><a href="http://www.videolan.org/">VLC media player
  88. 0.8.6c Janus</a> (http interface)
  89. </h2>
  90. <div class="sectitle">Add</div>
  91. <div class="section">
  92. <table class="add">
  93. <tbody><tr>
  94. <form method="get" action="?" enctype="text/plain"></form>
  95. <td>Add a MRL (Media Resource Locator) to the playlist</td>
  96. <td>
  97. <input name="control" value="add" type="hidden">
  98. <input name="mrl" size="40" type="text">
  99. <input value="Add" type="submit">
  100. </td>
  101. </tr>
  102. <tr>
  103. <form method="get" action="" enctype="text/plain"></form>
  104. <td>Stream Output:</td>
  105. <td>
  106. <input name="sout" size="40" value="" type="text">
  107. <input value="Sout" type="submit">
  108. </td>
  109. </tr>
  110. </tbody></table>
  111. </div>
  112. <!-- Playlist -->
  113. <div class="section">
  114. <form method="get" action="">
  115. <ul id="playlist">
  116. <li>
  117. <img alt="Cone" src="index-1_files/cone_plus.png">
  118. Playlist
  119. <ul>
  120. <li>
  121. <img alt="[-]" src="index-1_files/cone_minus.png" onclick="changeMe(this)">
  122. <input name="item" value="3" type="checkbox">
  123. <a href="http://127.0.0.1:8082/old/?control=play&amp;item=3">
  124. General
  125. </a>
  126. (1
  127. item)
  128. <ul>
  129. <li>
  130. <input name="item" value="4" type="checkbox">
  131. <strong>
  132. <a href="http://127.0.0.1:8082/old/?control=play&amp;item=4">
  133. The Second Great Depression (/mnt/drive1/Music/aMule/Manic Street
  134. Preachers - Send Away The Tigers
  135. (2007)/05-manic_street_preachers-the_second_great_depression.mp3)</a>
  136. </strong>
  137. </li>
  138. </ul></li>
  139. </ul></li>
  140. </ul>
  141. <input name="control" value="delete" type="submit">
  142. <input name="control" value="empty" type="submit">
  143. <input name="control" value="keep" type="submit">
  144. <input name="control" value="sort" type="submit"> by
  145. <select name="type">
  146. <option value="title">title</option>
  147. <option value="shuffle">shuffle</option>
  148. </select> with
  149. <select name="order">
  150. <option value="0">normal order</option>
  151. <option value="1">reverse order</option>
  152. </select>
  153. </form>
  154. </div>
  155. </div>
  156. <!-- end main content -->
  157. <p style="text-align: center; font-size: 1.2em;"> VLC media player - version 0.8.6c Janus - (c) 1996-2007 the VideoLAN team </p>
  158. <script type="text/javascript">
  159. got_time = 38;
  160. hours = Math.floor(got_time/ 3600);
  161. minutes = Math.floor((got_time/60) % 60);
  162. seconds = got_time % 60;
  163. if ( hours < 10 ) hours = "0" + hours;
  164. if ( minutes < 10 ) minutes = "0" + minutes;
  165. if ( seconds < 10 ) seconds = "0" + seconds;
  166. document.getElementById('time').innerHTML = hours+":"+minutes+":"+seconds;
  167. got_length = 249;
  168. hours = Math.floor(got_length/ 3600);
  169. minutes = Math.floor((got_length/60) % 60);
  170. seconds = got_length % 60;
  171. if ( hours < 10 ) hours = "0" + hours;
  172. if ( minutes < 10 ) minutes = "0" + minutes;
  173. if ( seconds < 10 ) seconds = "0" + seconds;
  174. document.getElementById('length').innerHTML = hours+":"+minutes+":"+seconds;
  175. got_volume = 56;
  176. document.getElementById( 'volume').innerHTML = Math.ceil(got_volume * 400/1024) + " %";
  177. </script>
  178. </body></html>