Do you have any questions?
Print

Streamserver API Example: Streamserver Name

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

$servername_output = file_get_contents('https://scripts.streampanel.net/cc/servername_shoutcast2.php?url=http://IP-ADRESSE:PORT');
$servername_output_color = file_get_contents('https://scripts.streampanel.net/cc/servername_shoutcast2.php?url=http://IP-ADRESSE:PORT&color=red');
echo $servername_output;
echo $servername_output_color;

Icecast KH

<?php

$servername_output = file_get_contents('https://scripts.streampanel.net/cc/servername_icecast.php?url=http://IP-ADRESSE:PORT');
$servername_output_color = file_get_contents('https://scripts.streampanel.net/cc/servername_icecast.php?url=http://IP-ADRESSE:PORT&color=red');
echo $servername_output;
echo $servername_output_color;

Color output

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

0 0 votes
Rate entry
Subscribe
Notify me at
guest
0 Comments
Inline Feedbacks
View all comments