Do you have any questions?
Print

Streamserver API example: cover request (small)

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_small_output = file_get_contents('https://www.shoutcast-tools.com/external/api/cover/shoutcast/small.php?url=http://IP-ADRESSE:PORT');
$cover_small_output_color = file_get_contents('https://www.shoutcast-tools.com/external/api/cover/shoutcast/small.php?url=http://IP-ADRESSE:PORT&color=red');
echo $cover_small_output;
echo $cover_small_output_color;

Icecast KH

<?php

$cover_small_output = file_get_contents('https://www.shoutcast-tools.com/external/api/cover/icecast/small.php?url=http://IP-ADRESSE:PORT');
$cover_small_output_color = file_get_contents('https://www.shoutcast-tools.com/external/api/cover/icecast/small.php?url=http://IP-ADRESSE:PORT&color=red');
echo $cover_small_output;
echo $cover_small_output_color;

Color output

Based on the CSS color names or HEX code: https://www.farb-tabelle.de/de/farbtabelle.htm

5 1 vote
Rate entry
Subscribe
Notify me at
guest
0 Comments
Inline Feedbacks
View all comments