fix frontpage radio links

This commit is contained in:
Set Hallstrom 2020-01-23 10:15:54 +01:00
parent 3f500b236b
commit 77e52e30f1

View file

@ -61,10 +61,10 @@ poster_image: /assets/vid/intro_loop_.jpg
output = "<p>" + "Now Playing: " + "</p>"; output = "<p>" + "Now Playing: " + "</p>";
output += "<p><strong>" + json.icestats.source[1].title + "</strong> <br />by<br /><strong>" + json.icestats.source[1].artist + "</strong></p>"; output += "<p><strong>" + json.icestats.source[1].title + "</strong> <br />by<br /><strong>" + json.icestats.source[1].artist + "</strong></p>";
output += "<p>"; output += "<p>";
output += json.icestats.source[0].listeners + " peers are listening in <a href='https://radio.basspistol.com/radio.mp3.m3u'>MP3</a>"; output += json.icestats.source[0].listeners + " peers are listening in MP3";
output += "</p>"; output += "</p>";
output += "<p>"; output += "<p>";
output += json.icestats.source[1].listeners + " peers are listening in <a href='https://radio.basspistol.com/radio.ogg.m3u'>OGG</a>"; output += json.icestats.source[1].listeners + " peers are listening in OGG";
output += "</p>"; output += "</p>";
document.getElementById("radioPlaceholder").innerHTML=output; document.getElementById("radioPlaceholder").innerHTML=output;
}); });
@ -105,8 +105,7 @@ poster_image: /assets/vid/intro_loop_.jpg
<h1>RADIO</h1> <h1>RADIO</h1>
<button id="mu_pause">Play</button> <button id="mu_pause">Play</button>
<div id="radioPlaceholder"></div> <div id="radioPlaceholder"></div>
<h2>Radio under maintenance.</h2> <p><b>Noscript friendly version and M3U <a href="./radio/">here</a></b></p>
<p>Hopefully back soon.</p>
</div> </div>
{% include footer.html %} {% include footer.html %}
</div> </div>