From 97d9aa3a24188059ad3c92bcf6b081cda3b1c52c Mon Sep 17 00:00:00 2001 From: Andreas Erhard Date: Mon, 9 Apr 2018 03:22:25 +0200 Subject: [PATCH] Fix listeners string matching to work with recent icecast versions --- rrdtool/read_streamdata.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rrdtool/read_streamdata.pl b/rrdtool/read_streamdata.pl index 931b2b1..ade25c3 100755 --- a/rrdtool/read_streamdata.pl +++ b/rrdtool/read_streamdata.pl @@ -31,7 +31,7 @@ sub text_trigger { return ; } - if ( ($_[0] eq "Current Listeners:") && ($station_dataspace) ) { # Current listeners is what we are looking for + if ( ($_[0] eq "Listeners (current):") && ($station_dataspace) ) { # Current listeners is what we are looking for $listener_dataspace = $counter ; return ; }