-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
112 lines (101 loc) · 5.93 KB
/
index.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<head>
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="apple-touch-icon-precomposed" href="albumradio152.png">
<meta name="msapplication-TileColor" content="#F19600">
<meta name="msapplication-TileImage" content="albumradio144.png">
<link rel="icon" href="albumradio32.png" sizes="32x32">
<link rel="icon" href="albumradio64.png" sizes="64x64">
<!-- Project CSS files -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/flipclock.css">
<link rel="stylesheet" href="css/rdio-utils.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/dabblet.css">
<script src="https://www.rdio.com/api/api.js?client_id=3MD7hLFv5h9A7L2s0jmDQg"></script>
<!-- google analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-45573888-1']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script type="text/javascript">
function toggleBackground() {
//window.scrollTo(0, document.body.scrollHeight);
$("#bgImageContainer").toggleClass('frontsalot');
$("#bgImageContainer").toggleClass('lightbg');
$()
}
</script>
<title>Album Radio</title>
</head>
<body>
<div id="bgImageContainer" class="lightbg">
<div about='http://farm8.static.flickr.com/7065/6906906289_8264b19786_m.jpg' class="sp-image">
<a href='http://www.flickr.com/photos/27587002@N07/6906906289/' target='_blank'>
<img class="sp-image" xmlns:dct='http://purl.org/dc/terms/' href='http://purl.org/dc/dcmitype/StillImage' rel='dct:type' src='img/default_album.png' alt='Music by jonkriz, on Flickr' title='Music by jonkriz, on Flickr' border='0' /></a>
<br />
<a rel='license' href='http://creativecommons.org/licenses/by/2.0/' target='_blank'>
<img src='http://i.creativecommons.org/l/by/2.0/80x15.png' alt='Creative Commons Attribution 2.0 Generic License' title='Creative Commons Attribution 2.0 Generic License' border='0' align='left'></a> by <a href='http://www.flickr.com/people/27587002@N07/' target='_blank'> </a>
<a xmlns:cc='http://creativecommons.org/ns#' rel='cc:attributionURL' property='cc:attributionName' href='http://www.flickr.com/people/27587002@N07/' target='_blank'>jonkriz</a>
</div>
</div>
<div class="section">
<a href="top"></a>
<h1>Album Radio</h1>
<p class="description">Hey there, welcome to the number one <a href="http://github.com/matelich/album-radio">open source</a> Rdio website for full album radio!</p>
<div>
<div>A few things you should know before you get started - <a class="readmore" href="#">Show</a></div>
<ol class="hide">
<li>You can only operate the radio on your own playlists, which you need to create on Rdio.
<ul>
<li>The playlist must have one or more songs.</li>
<li>It's recommended to take a few songs from your favorite artists to initially fill up the playlist</li>
<li>You can switch between multiple playlists, just drag them to the playlist box below</li>
</ul>
</li>
<li>Album Radio deletes played songs from the start of your playlist. Every time a track changes, Album Radio checks to see if there are less than 500 songs in your playlist. If so, it will add an album to the end. If you skipped a track, the artist will be selected from your Collection, otherwise an artist will be chosen from the completed songs' related artists.
<ul>
<li>Album Radio can only detect song skipping if it is managing the playback</li>
</ul>
</li>
</ol>
</div>
<div id="drop_box">
<div id="unauthorized"><p>To get started, you'll have to <button id="authenticate">authorize</button>.</p></div>
<div id="playlist_selection">Choose the Playlist you want Album Radio to work with: <select name="combo" id="playlist_selector"></select></div>
<h3 id="noplaylistmsg"><!--Drag and Drop a playlist you want Album Radio to manage--></h3>
<div id="playlist_info" class="wrappy">
<h2 id="playlist_name" class="wrappy"></h2>
<div class="clock" id="playlist_count" class="wrappy"></div>
</div>
<!-- <div class="buttondiv" id="play_toggle">Play Toggle</div>
<div class="buttondiv" id="skip_button">Skip This Track</div>
-->
<div id="play"></div>
<div id="pause"></div>
<div id="fwd"></div>
</div>
<div id="album_box" class="dashbox"></div>
<h3>Activity Log</h3>
<div id="debugging" class="dashbox">
</div>
</div>
<div class="bottomright">
<a href="#" onclick="toggleBackground()">Toggle Album Cover In Background</a>
</div>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<script src="js/flipclock/libs/base.js"></script>
<script src="js/flipclock/flipclock.js"></script>
<script src="js/flipclock/faces/counter.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.6.0/underscore-min.js"></script>
<script src="js/rdio-utils.js"></script>
<script src="js/albumradio.js"></script>
</body>
</html>