fixed to show hidden colors of some values in the Icecast graph. #108

This commit is contained in:
Jordi Sanfeliu 2015-09-14 12:32:14 +02:00
parent ee0cd48a20
commit afe24ca480
1 changed files with 2 additions and 0 deletions

View File

@ -418,10 +418,12 @@ sub icecast_cgi {
push(@tmp, "GPRINT:ice" . $e . "_mp$n" . ":MAX: Max\\:%4.0lf\\n");
$n++;
}
$n = 0;
if(lc($icecast->{graph_mode}) ne "s") {
foreach my $i (split(',', $icecast->{desc}->{$url})) {
push(@tmp, "LINE2:ice" . $e . "_mp$n" . $LC[$n]);
push(@tmpz, "LINE2:ice" . $e . "_mp$n" . $LC[$n]);
$n++;
}
}