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 $cover_medium_output = file_get_contents('https://www.shoutcast-tools.com/external/api/cover/shoutcast/medium.php?url=http://IP-ADRESSE:PORT'); $cover_medium_output_color = file_get_contents('https://www.shoutcast-tools.com/external/api/cover/shoutcast/medium.php?url=http://IP-ADRESSE:PORT&color=red'); echo $cover_medium_output; echo $cover_medium_output_color;
Icecast KH
<?php $cover_medium_output = file_get_contents('https://www.shoutcast-tools.com/external/api/cover/icecast/medium.php?url=http://IP-ADRESSE:PORT'); $cover_medium_output_color = file_get_contents('https://www.shoutcast-tools.com/external/api/cover/icecast/medium.php?url=http://IP-ADRESSE:PORT&color=red'); echo $cover_medium_output; echo $cover_medium_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