Streamserver API Beispiel: Coverabfrage (Groß)

Juni 11, 2020
STREAMPANEL FAQ

Ersetzen Sie im unteren Code “IP-ADRESSE” mit der IP-Adresse ihres Streamservers und “PORT” mit den Port Ihres Streamservers.

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;

Farbliche Ausgabe

Basierend auf den CSS-Farbnamen oder HEX-Code: https://www.farb-tabelle.de/de/farbtabelle.htm


Vorherigen Eintrag aufrufenNächsten Eintrag aufrufen


0 0 votes
Eintrag bewerten
Abonnieren
Benachrichtigen Sie mich bei
guest
0 Kommentare
Inline Feedback
Alle Kommentare anzeigen