![]() |
Module CMPS: Shoutcast Status Lite
Module CMPS: Shoutcast Status Lite 1.0
Hope it helps !!! Zack @ http://www.gzhq.net Quote:
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 |
The templates are not that flashy, but you can edit them. :D
|
any chance of a block for vbindex?
|
Quote:
:classic: |
Quote:
|
Quote:
The Full ver layout was built with a center block in mind, but it's layout can be custom to fit anywere, just edit "adv_portal_shoutcast". It can also list more than the Top 5 (max top 20). Full ver only: Code:
$song[t] = Song History: t can range from 0-19. EX: $song[0], $song[1], $song[2] .... $song[19] |
Quote:
|
Quote:
|
Yeah and I also added a background cell image, you would think that it would be a simple little task but I had to play with it for a little bit, it wouldn't work without creating a css for it.
|
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?
|
Quote:
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? |
Quote:
1) CMPS: Shoutcast Status Lite 2) CMPS: Shoutcast Status Full 3) Shoutcast Status Lite (forum home) 4) Shoutcast Status Full (forum home) The 2 CMPS's need: vBadvanced CMPS https://vborg.vbsupport.ru/showthread.php?t=65797 Coded by: Tigga The other 2 work on the forumhome. This script pulls the XML data from a shoutcast server. http://www.shoutcast.com/download/serve.phtml |
Nice Job! My users are gonna love this! -Installed.
|
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.
|
Quote:
|
Well, I know I could do that... But, I'm wondering if the script does that.
|
Brilliant .. thanks for a great hack :)
[high]* Slave clicks install[/high] |
Harry .. I'm using the lite version at the moment but am getting the same problem as some of the guys in the following thread ..
https://vborg.vbsupport.ru/showthrea...ight=shoutcast Everything works fine unless the shoutcast process is stopped on the server and then it takes forever for the page this module is on to load. I see you've added a fix to the full version. Can you please also update this lite version too. Thanks :) |
Quote:
|
Quote:
Got to be said my users love this hack .. :) |
@ Slave - With the curent builds of the hacks
I have a test install and @ 18 queries w/ both the full and light Module on the same page. .45159 Sec - connected .49724 sec - not connected Are you useing an IP or a domain name for your $scip value ? |
[high]* Slave goes to check ..
[/high] The $scip is an IP .. and I'm deffo using the same file as the download above .. You sure you've updated it? :p And you're also sure that you tested it with the shoutcast process completely off on the server .. and not just "off the air" with no one broadcasting? Cheers for the help :) |
Quote:
I am useing the same ver as posted here. I can kill the server, change the IP, DJ or or off line, and I still have little if/any delay change. Try this: edit shoutcast_light.php Find Code:
$page .= fgets($scfp, 1000); Code:
$page .= fgets($scfp, 5); |
Cool .. cheers .. I'll try that :)
|
|
Quote:
Nice |
All times are GMT. The time now is 11:24 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|