CREDITS:
GeZuS P - for giving me a leg up on some code.
(this hack does not need a password to pull stream information.) --- Module CMPS: Shoutcast Status Full (full w/ more options) need a password.
== Install: 2-5 min ==
Server Name
Bitrate
Current Song
Users Connected
User Max
Online / Offline status
================================================== =====
- Something that came to mind. You can take this add-on and rename the shoutcast.php file to say "shoutcast_lite1.php, shoutcast_lite2.php, etc." and make multi-blocks to get feeds from different servers. They all can use the same templates.
Upload: 1 images, 1 php file
Add: 2 templates
If you choose not to show any/all:
Variables used.
Here is a list of variables that can be used in your "adv_portal_scastlite". If do not wish to show data, just remove the variables.
$scdef = Default station name $scip = IP shoutcast server $scport = Port of shoutcast server $song[0] = (zerro) is the current song playing. $bitrate = Quility of the Bitrate - setting in DJ - DSP . $currentlisteners = Current connected users. $maxlisteners = Max users for the server. $listenlink = 'http://$scip:$scport/listen.pls
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Is it possible to use a server that is already broadcasting for this, instead of my own? I listen to Defcon Radio alot on Winamp, and I'd like to know if I can set this hack up to broadcast Defcon instead of something of my own?
Yes sir.
The light ver. only needs a ip and port.
The full ver. needs ip, port, shoutcast server admin pw.
- Change values with in the "quotes" to shoutcast server settings.
//Configuration
$scdef = "Server Name"; // Default station name
$scip = "0.0.0.0"; // ip or url of shoutcast server
$scport = "8000"; // port of shoutcast server
//End configuration
Wait.. I went to install this and it's for CMPS... And also, there is only a link generated, which I can do on my own...
So, I didn't go on with installation, but, this doesn't actually play live on the forums, does it?
I am unsure what your talking about or wanting, but there are 4 types of this script here on vb.org.
Okay... So, does the Shoutcast stream play live on the forum, or does it just link to the stream to open up in Winamp? The thing is, I'm wanting this so that my users can just go to the forums and listen to the stream straight off of the forumhome instead of clicking a link and opening it up in Winamp.
Okay... So, does the Shoutcast stream play live on the forum, or does it just link to the stream to open up in Winamp? The thing is, I'm wanting this so that my users can just go to the forums and listen to the stream straight off of the forumhome instead of clicking a link and opening it up in Winamp.
Sure you can embed a player to auto start If that is what you wish. Windows media player or a flash / java player can be used. If you do this on your forum home your user will disconnect when they leave the forum home. You may want to make a popup window w/ the player that can detach from the site.