-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathplayer.html
81 lines (72 loc) · 3.88 KB
/
player.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!--
Rhythmweb - a web site for your Rhythmbox.
Copyright (C) 2012 fossfreedom, 2007 Michael Gratton.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-->
<html>
<head>
<title>%(title)s</title>
<link rel="stylesheet" href="site.css" type="text/css"></head>
<body>
<div id="player">
<h1 id="window-title">Rhythmweb</h1>
<p id="toolbar">
<button id="play" %(play)s name="action" isplaying="%(currentlyplaying)s"title="Start playback" value="play">
<img class="playimage" alt="Play" width="24" height="24" src="stock/gtk-media-play-ltr" /> Play</button>
<!--button id="pause" name="action" title="Pause playback" value="pause"><img alt="Pause" width="24" height="24" src="stock/gtk-media-pause"/></button>
<button id="stop" name="action" title="Stop playback" value="stop"><img alt="Stop" width="24" height="24" src="stock/gtk-media-stop"/></button -->
<button id="previous-track" name="action" title="Play the previous track" value="prev"><img alt="Previous" width="24" height="24" src="stock/gtk-media-previous-ltr"/></button>
<button id="next-track" name="action" title="Play the next track" value="next"><img alt="Next Track" width="24" height="24" src="stock/gtk-media-next-ltr"/></button>
<button id="toggle-repeat" name="action" title="Toggle Repeat" value="toggle-repeat" %(toggle_repeat_active)s><img alt="Toggle Repeat" width="24" height="24" src="stock/media-playlist-repeat"/></button>
<button id="toggle-shuffle" name="action" title="Toggle Shuffle" value="toggle-shuffle" %(toggle_shuffle_active)s><img alt="Toggle Shuffle" width="24" height="24" src="stock/media-playlist-shuffle"/></button>
<button id="toggle-playlist-view">Toggle Play-queues</button>
<button id="volume-up" name="action" title="Turn the volume up" value="vol-up"><img alt="Volume Up" width="24" height="24" src="stock/gtk-go-up"/></button>
<button id="volume-down" name="action" title="Turn the volume down" value="vol-down"><img alt="Volume Down" width="24" height="24" src="stock/gtk-go-down"/></button>
</p>
<div>
<table id="titlePane">
<tr>
<td valign="top"><img id="cover" alt="cover" width="48" height="48" src="rhythmbox-missing-artwork.svg"/></td>
<td valign="middle"><p id="playing">%(playing)s</p></td>
</tr>
</table>
</div>
<div class="sidebar-at-left" id="main">
<div id="playlistbox"></div>
<div id="trackbox">
<h1 id="loading">Loading playlist</h1>
<table id="playlist">
<thead>
<tr>
<th>Title</th>
<th>Artist</th>
<th>Album</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<div class="clearer" />
</div>
</div>
<div id="footer">
<p><a href="https://github.com/fossfreedom/rhythmweb/">Rhythmweb</a> - a web site for your <a href="http://www.gnome.org/projects/rhythmbox/">Rhythmbox</a>.</p>
</div>
</body>
<script src="jquery-1.8.1.min.js"></script>
<script src="jquery-mobile-doubletap.js"></script>
<script src="jquery-cookie-1.2.js"></script>
<script src="rhythmweb.js"/></script>
</html>