From 4416f0452e92bc94877bc5b115a5acb14f90bdac Mon Sep 17 00:00:00 2001 From: IngridRegina Date: Sat, 20 Jun 2020 17:17:30 +0300 Subject: [PATCH] adding other masterStreams again --- script.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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++) { -- 2.45.2