diff --git a/radio.html b/radio.html index 46fa7c1..67b201d 100644 --- a/radio.html +++ b/radio.html @@ -22,9 +22,8 @@ layout: default function getData() { $.getJSON('https://radio.basspistol.com/status-json.xsl', function(json) { output = "

" + "Now Playing: " + "
"; - output += "" + json.icestats.source[1].title + " by " + json.icestats.source[1].artist + "

"; - output += "

" + json.icestats.source[0].listeners + " peers are listening in MP3
"; - output += json.icestats.source[1].listeners + " peers are listening in OGG

"; + output += "" + json.icestats.source.title + "

"; + output += "

" + json.icestats.source.listeners + " peers are listening in MP3
"; document.getElementById("radioPlaceholder").innerHTML=output; }); } @@ -91,7 +90,6 @@ layout: default