5 <meta charset="UTF-8" />
7 <link rel="stylesheet" type="text/css" media="all" href="style.css" />
9 <script type="text/javascript"
11 src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js">
14 <link href="skin/blue.monday/css/jplayer.blue.monday.min.css" rel="stylesheet" type="text/css" />
15 <script type="text/javascript" src="js/jquery.jplayer.min.js"></script>
19 function radioTitle() {
20 console.log("radioTitle");
21 var url = 'http://radio.wpitchoune.net:8080/current.xsl';
22 var mountpoint = '/mp3';
27 jsonpCallback: 'parseMusic',
28 contentType: "application/json",
30 success: function (json) {
31 $('#track-title').text(json[mountpoint].title);
32 }, error: function (e) { console.log(e.message);
37 $(document).ready(function(){
38 setTimeout(function () {radioTitle();}, 2000);
39 setInterval(function () {radioTitle();}, 10000);
43 mp3: "http://radio.wpitchoune.net:8080/mp3"
46 $("#jquery_jplayer_1").jPlayer({
47 ready: function (event) {
49 $(this).jPlayer("setMedia", stream);
52 $(this).jPlayer("clearMedia");
54 error: function(event) {
55 if(ready && event.jPlayer.error.type === $.jPlayer.error.URL_NOT_SET) {
56 $(this).jPlayer("setMedia", stream).jPlayer("play");
63 useStateClassSkin: true,
71 <title>Proxy Radio</title>
77 <li class="selected">Proxy Radio</li>
78 <li><a href="last_songs.html">Played songs</a></li>
79 <li><a href="songs.html">All songs</a></li>
86 <div id="jquery_jplayer_1" class="jp-jplayer"></div>
87 <div id="jp_container_1" class="jp-audio" role="application" aria-label="media player">
88 <div class="jp-type-single">
89 <div class="jp-gui jp-interface">
90 <div class="jp-controls">
91 <button class="jp-play" role="button" tabindex="0">play</button>
92 <button class="jp-stop" role="button" tabindex="0">stop</button>
94 <div class="jp-progress">
95 <div class="jp-seek-bar">
96 <div class="jp-play-bar"></div>
99 <div class="jp-volume-controls">
100 <button class="jp-mute" role="button" tabindex="0">mute</button>
101 <button class="jp-volume-max" role="button" tabindex="0">max volume</button>
102 <div class="jp-volume-bar">
103 <div class="jp-volume-bar-value"></div>
106 <div class="jp-time-holder">
107 <div class="jp-current-time" role="timer" aria-label="time"> </div>
108 <div class="jp-duration" role="timer" aria-label="duration"> </div>
109 <div class="jp-toggles">
110 <button class="jp-repeat" role="button" tabindex="0">repeat</button>
114 <div class="jp-details">
115 <div id="track-title" class="jp-title" aria-label="title"> </div>
117 <div class="jp-no-solution">
118 <span>Update Required</span>
119 To play the media you will need to either update your browser to a recent version or update your <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash plugin</a>.
124 <p>All songs have been downloaded from the <a href="http://freemusicarchive.org/">Free Music Archive</a> and as far as I know can be shared on this stream. Feel free to send me an email to <a href="mailto:proxyradio@wpitchoune.net">proxyradio@wpitchoune.net</a> if you have a concern about a song. Read the list of
125 <a href="songs.html">songs</a> with credits and licensing information. No changes have been made to the songs.
131 <li><a href="mailto:proxyradio@wpitchoune.net">Contact</a></li>