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 $bitrate_output = file_get_contents('https://scripts.streampanel.net/cc/bitrate_shoutcast2.php?url=http://IP-ADRESSE:PORT'); $bitrate_output_color = file_get_contents('https://scripts.streampanel.net/cc/bitrate_shoutcast2.php?url=http://IP-ADRESSE:PORT&color=red'); echo $bitrate_output; echo $bitrate_output_color;
Icecast KH
<?php $bitrate_output = file_get_contents('https://scripts.streampanel.net/cc/bitrate_icecast.php?url=http://IP-ADRESSE:PORT'); $bitrate_output_color = file_get_contents('https://scripts.streampanel.net/cc/bitrate_icecast.php?url=http://IP-ADRESSE:PORT&color=red'); echo $bitrate_output; echo $bitrate_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