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