Hast Du Fragen?
Streamserver API Beispiel: Samplerate
Ersetzen Sie im unteren Code “IP-ADRESSE” mit der IP-Adresse ihres Streamservers und “PORT” mit den Port Ihres Streamservers.
SHOUTcast V2
<?php $samplerate_output = file_get_contents('https://scripts.streampanel.net/cc/samplerate_shoutcast2.php?url=http://IP-ADRESSE:PORT'); $samplerate_output_color = file_get_contents('https://scripts.streampanel.net/cc/samplerate_shoutcast2.php?url=http://IP-ADRESSE:PORT&color=red'); echo $samplerate_output; echo $samplerate_output_color;
Icecast KH
<?php $samplerate_output = file_get_contents('https://scripts.streampanel.net/cc/samplerate_icecast.php?url=http://IP-ADRESSE:PORT'); $samplerate_output_color = file_get_contents('https://scripts.streampanel.net/cc/samplerate_icecast.php?url=http://IP-ADRESSE:PORT&color=red'); echo $samplerate_output; echo $samplerate_output_color;
Farbliche Ausgabe
Basierend auf den CSS-Farbnamen oder HEX-Code: https://www.farb-tabelle.de/de/farbtabelle.htm