|
|
@ -10,7 +10,7 @@ function update(){ |
|
|
|
if (first == null) { |
|
|
|
if (first == null) { |
|
|
|
playing = 'Mitte munnigi ei mängi prg'; |
|
|
|
playing = 'Mitte munnigi ei mängi prg'; |
|
|
|
} |
|
|
|
} |
|
|
|
else if (first != null && first.artist != undefined) { |
|
|
|
else if (first.artist != undefined) { |
|
|
|
playing = first.artist + ' - '; |
|
|
|
playing = first.artist + ' - '; |
|
|
|
playing += first.title; |
|
|
|
playing += first.title; |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -55,9 +55,6 @@ function getFirstPlaying(jsonObj){ |
|
|
|
var sources = jsonObj.icestats.source; |
|
|
|
var sources = jsonObj.icestats.source; |
|
|
|
var masterStreams = [ |
|
|
|
var masterStreams = [ |
|
|
|
'/live', |
|
|
|
'/live', |
|
|
|
'/sai', |
|
|
|
|
|
|
|
'/siinus', |
|
|
|
|
|
|
|
'/viido' |
|
|
|
|
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
for(o=0; o < sources.length; o++) { |
|
|
|
for(o=0; o < sources.length; o++) { |
|
|
|