In the code below, replace "IP ADDRESS" with the IP address of your stream server and "PORT" with the port of your stream server.
SHOUTcast V2
<?php $listener_peak_output = file_get_contents('https://scripts.streampanel.net/cc/listenerpeak_shoutcast2.php?url=http://IP-ADRESSE:PORT'); $listener_peak_output_color = file_get_contents('https://scripts.streampanel.net/cc/listenerpeak_shoutcast2.php?url=http://IP-ADRESSE:PORT&color=red'); echo $listener_peak_output; echo $listener_peak_output_color;
Icecast KH
<?php $listener_peak_output = file_get_contents('https://scripts.streampanel.net/cc/listenerpeak_icecast.php?url=http://IP-ADRESSE:PORT'); $listener_peak_output_color = file_get_contents('https://scripts.streampanel.net/cc/listenerpeak_icecast.php?url=http://IP-ADRESSE:PORT&color=red'); echo $listener_peak_output; echo $listener_peak_output_color;
Color output
Based on the CSS color names or HEX code: https://www.farb-tabelle.de/de/farbtabelle.htm
Subscribe
Log in
0 Comments