In the code below, replace "IP ADDRESS" with the IP address of your stream server and "PORT" with the port of your stream server.
Also replace the parameter "cimgpath" with a directory of your website containing the DJ images.
SHOUTcast V2
<?php $djimage_output = file_get_contents('https://scripts.streampanel.net/cc/djimage_shoutcast2.php?url=http://IP-ADRESSE:PORT&width=150&cimgpath=https://example.com/images/'); echo $djimage_output;
Icecast KH
<?php $djimage_output = file_get_contents('https://scripts.streampanel.net/cc/djimage_icecast.php?url=http://IP-ADRESSE:PORT&width=150&cimgpath=https://example.com/images/'); echo $djimage_output;
Recognition of the DJ / presenter
Detection is based on the following features in the title output of the stream server.
- dj_
- Dj_
- DJ_
- dJ_
- dj
- Dj
- DJ
- dJ
- |
If you want to know more, please send a short message with examples via support ticket.
Subscribe
Log in
0 Comments