diff --git a/script.js b/script.js index f997f4d..3acc9cb 100644 --- a/script.js +++ b/script.js @@ -32,7 +32,7 @@ function update_field(field, data){ function update_listeners(json_obj){ var nowPlaying = getFirstPlaying(json_obj); - if(nowPlaying != null) { + if (nowPlaying != null) { update_field('listeners1', nowPlaying.listeners); } } @@ -54,6 +54,9 @@ function getFirstPlaying(jsonObj){ var sources = jsonObj.icestats.source; var masterStreams = [ '/live', + '/sai', + '/siinus', + '/viido', ] for(o=0; o < sources.length; o++) {