-
Notifications
You must be signed in to change notification settings - Fork 4
/
monitor.html
executable file
·49 lines (47 loc) · 2.05 KB
/
monitor.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="HandheldFriendly" content="True" />
<title>VoteMPD - Monitor</title>
<link rel="stylesheet" href="js/jquery-ui-1.11.4.custom/jquery-ui.css">
<script src="js/jquery-1.11.3.min.js"></script>
<script src="js/jquery-ui-1.11.4.custom/jquery-ui.js"></script>
<link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
<link rel="stylesheet" href="css/monitor.css" type="text/css" media="all" />
<link rel="icon" href="gfx/favicon.ico" type="image/vnd.microsoft.icon">
</head>
<body>
<div id="banner">
VoteMPD
</div>
<div id="head">
<div id="innerhead">
Aktuelle informationen
</div>
</div>
<div id="highMonitor">
nexts
</div>
<div id="monitorFooter">
<img src="gfx/qr_wifi.png"> <img src="gfx/qr_browser.png"> musik.de
</div>
<script type="text/javascript" src="js/script.js.php"></script>
<script type="text/javascript">
var ajaxpath = window.location.origin+"/ajax.php"; //absolute url to ajax.php
var ajaxpathrel = "ajax.php"; //relative path to ajax.php
var lastcurrent = null; //last fileinfos for currently played song
var tempposition = null; //interpolated position of song
var intervalfast = 1000; //fast update interval (interpolate song position)
var currentFolder = -1; //first folder for "browse-folders"
var currentArtist = "ROOT"; //first folder for "browse-artists"
var currentAlbum = "ROOT"; //first folder for "browse-albums"
var currentPlaylist = "ROOT"; //first folder for "browse-playlists"
var loading = '<img src="gfx/loading.gif">'; //image html code for ajax-loader.gif
//on start (called on end of html file)
$(function() {
updateMonitorNextsongs();
setInterval(function(){ updateMonitorNextsongs(); }, 5000); //do fast update (only local, interpolate song position)
});
</script>
</body>
</html>