From 5a68fb1dc5d35ab5506b7396cc6e1cf6c89223f3 Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Mon, 26 Oct 2020 09:03:29 +0100 Subject: [PATCH] remove ogg stream from radio --- radio.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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