View Full Version : Shoutcast Status 2.0 (3.5)
Zachariah
08-14-2005, 10:00 PM
Shoutcast Status 2.0 on your VB3.5 ForumHome.
/* ----------------- 11/15/2006 -----------------
This is a Nice hack to add Shoutcast Status on your VB3.5 ForumHome.
Hope it helps !!!
Zachariah @ http://www.gzhq.net
SHOUTcast is a free-of-charge audio homesteading solution. It permits anyone
on the internet to broadcast audio from their PC to listeners across the
Internet or any other IP-based network (Office LANs, college campuses, etc.).
http://www.shoutcast.com
Zerro Queries Added
================================================== =====
Tested On:
vBulletin 3.5+
SHOUTcast Server v1.9.5
DEMO (http://www.gzhq.net/forums/)
================================================== =====
== Install: 2-5 min ==
Full Stats
- Needs Shoutcast server admin password
Server Name
Song History
4 media layers (winamp, quicktime, media player, real player)
DJ Name
Bitrate
Current Song
Media Type
Most Ever Connected
Hit Count
Users Connected
Avj. Connect Time
User Max
Online / Offline status
XML Data Cache
Lite Stats
- Does not need shoutcast server admin password
Server Name
4 media layers (winamp, quicktime, media player, real player)
Bitrate
Current Song
Users Connected
User Max
Online / Offline status
XML Data Cache
================================================== =====
Adds: 2 plugins
Adds: 8 images, 2 files
Adds: 10 templates
Adds: 45 phrases
shoutcast full 3.5.zip (13.7 KB, 683 downloads)
Blam Forumz
08-15-2005, 11:33 AM
Can this be integrated into vBAdvanced?
Zachariah
08-15-2005, 11:38 AM
================================================== =====
Changelog |
================
2.0 11.15.06
- Merged shoutcast lite and full into 1 program
** If you do not have an admin password for your shoutcast server you can get limited information from the server "lite".
- Stats and History moved
** There was a need to hit collapsible +/- image to show song history and server stats. This has been moved to a 2 vbmenus as a click dropdown.
- Show Off Line Status
** Set to "No" to remove off line template when the shoutcast server is off line, or there is no DJ source
- Select what usergroups can see the add-on
- Fully phrased
- Cleaned up code in templates
- Changed and added templates.
1.9 9.06.06
- Moved body of hack to: /includes/shoutcast/scast.php vs. in datastore.
- added 2 templates: forumhome_shoutcast_who, forumhome_shoutcast_who_off
- popup player url from index.php to $vboptions[forumhome].php
- Locations:
Please choose the way your images should be displayed on the forum home.
Above Header
Below Header
Under Navbar
Above What's going on
Inside What's going on
Below What's going on
Custom
Select "Custom" and place $scast in FORUMHOME template for custom location.
1.8 2.18.06
- Added XML cache + timer
- Added AdminCP setting vs. edit the php file
1.7 12.25.05
- Killed auto create Module on Install
1.6
- Fixed Media Player in non IE browsers
- Fixed Real Player in non IE browsers
1.5
- Added 19 song history vs. 5
- Added Windows Media Player popup
- Added Real Media Player popup
- Added Quicktime Media Player popup
- Added marquee to Curent song playing
- Added Avj. Connect Time (avj. of the total time users connected; untill server reboot)
- Added Media Type (tells what the source file format is: mpeg, CDA, WAV)
- Added Hit Count (total connections to the server since the server reboot)
- Added Most Ever (total connections at one time to the server since the server reboot)
- Added 4 images for choice of media player
- Added 3 templates for media players
================================================== =====
If you choose not to show any/all:
Variables used.
Here is a list of variables that can be used in your "forumhome_shoutcast". If do not wish to show data, just remove the variables.
$scdef = Default station name
$scip = IP shoutcast server
$scport = Port of shoutcast server
$scpass = Admin password (not DJ) to shoutcast server
$ircsite = IRC Server - EX: irc.server.com
$song[t] = Song History:t can range from 0-19. EX: $song[0], $song[1], $song[2] .... $song[19] ----- $song[0] (zerro) is the current song playing.
$servertitle = "Discription" - setting in DJ - DSP (I used for DJ Name).
$servergenre = - setting in DSP.
$bitrate = Quility of the Bitrate - setting in DJ - DSP .
$icq = ICQ# of DJ - setting in DJ - DSP.
$aim = AIM# of DJ - setting in DJ - DSP.
$irc = IRC room of DJ - setting in DJ - DSP.
$url = URL - setting in DJ - DSP
$currentlisteners = Current connected users.
$maxlisteners = Max users for the server.
$irclink = irc://$ircsite/$irc
$listenamp = http://$scip:$scport/listen.pls
$listenlnk = http://$scip:$scport
$averagemin = average listener time in minuets
$peaklisteners = Most Ever
$content = Media Type
$streamhits = Hit Count
You should be able to just call it as a module and create the templates for it. Then just use the output variables that are listed on the first post.
GrendelKhan{TSU
08-15-2005, 12:31 PM
wow.. cool idea... gotta fix some stuff up and then I'll give it a whirl. :D :D
jesus likes pie
08-15-2005, 12:40 PM
I like it :D
Zachariah
08-15-2005, 12:47 PM
You should be able to just call it as a module and create the templates for it. Then just use the output variables that are listed on the first post.
https://vborg.vbsupport.ru/showthread.php?t=72570
CMPS 1: Shoutcast Status Full
I have not tryed it on CMPS 2 - yet, I do not see a problem with it working. I'll take a look once I - RFRI. (reformat, reinstall)
Vizionz
08-15-2005, 01:03 PM
man your the man haha i was just looking at your post in the v3 mods and was just about to post make this for v3.5 and blam its here good work installing now
Zachariah
08-15-2005, 01:05 PM
man your the man haha i was just looking at your post in the v3 mods and was just about to post make this for v3.5 and blam its here good work installing now
I hear ya I got it finished ---8/15/2005 4:20AM--- :D
I could not sleep, you know how that goes. :tired:
Good luck w/ install
Vizionz
08-15-2005, 01:23 PM
worked flawless now for the next mission :) ad the ability for multi servers. and the abilty to link other stream links
example: * these are just idea*
stream1
stream2
rap radio - listen now: winamp - windows media - real player
Metal radio - listen now: winamp - windows media - real player
they could be text links or images either way is good with me :)
might be hard to ad different streams just for the fact you got the latest 5 tracks going on that would nbe alot of space going on..
unless you changed the style to marquee the lastest 5 tracks
you could also make it clean by having a drop down menu for your streams.
and the links to listen
so like
stream1
winamp
windows media
real player
Stream 2
winamp
windows media
real player
that would save on the space issue and probably look cleaner if done that way..
Zachariah
08-15-2005, 01:37 PM
I was thinking for a few months on showing milti -streams. - Might do a Sep. page vs. on the forumhome. I have done Multi-servers on VBA CMPS w/ Multi block many times. It will take some thought. I also would love to make an "all stats" hack vs. the small data this one pulls from the server. I thought the amount of info this gave was already taking a load of space as it was. I'll put some stuff on the fire and see what we can burn.
winamp - done
windows media - easy to do/add
real player - easy to do / have to read a bit on their tech.
worked flawless now for the next mission :) ad the ability for multi servers. and the abilty to link other stream links
example: * these are just idea*
stream1
stream2
rap radio - listen now: winamp - windows media - real player
Metal radio - listen now: winamp - windows media - real player
they could be text links or images either way is good with me :)
might be hard to ad different streams just for the fact you got the latest 5 tracks going on that would nbe alot of space going on..
unless you changed the style to marquee the lastest 5 tracks
you could also make it clean by having a drop down menu for your streams.
and the links to listen
so like
stream1
winamp
windows media
real player
Stream 2
winamp
windows media
real player
that would save on the space issue and probably look cleaner if done that way..
Vizionz
08-15-2005, 01:54 PM
i made a few template edits for now to give ya a idea
Zachariah
08-15-2005, 02:05 PM
:up: i made a few template edits for now to give ya a idea
I hear ya .... nice and tight.
Vizionz
08-15-2005, 02:07 PM
just gives ya an idea to maybe base another version later on :) anyway thanks for doing the hard part for us its much appreciated
Vizionz
08-15-2005, 04:01 PM
this definetly slows your forum down so everyone knows. cause its calling the server so expect some delay
Zachariah
08-15-2005, 04:08 PM
this definetly slows your forum down so everyone knows. cause its calling the server so expect some delay
Never seen that. I looked and seen you use a URL vs. IP. This will delay a bit. The URL vs. IP sends a DNS request then it returns a URL. Try using IP.
jesus likes pie
08-15-2005, 04:21 PM
It sped mine up.
Anyhow this is an awesome mod.
Ah yes, and for some reason, the "listen now" image doesnt show up for me? Maybe it's just me, i dont know yet.
Thanks for the mod.
Zachariah
08-15-2005, 04:26 PM
It sped mine up.
Anyhow this is an awesome mod.
Ah yes, and for some reason, the "listen now" image doesnt show up for me? Maybe it's just me, i dont know yet.
Thanks for the mod.
Upload the images to:
http://www.ugforums.org/ugforums/images/insignia/misc/
================================================== =====
Upload: Images |
===============
im_genre.gif, im_mirc.gif, radio.gif, shoutcast_off.gif, sound.gif
To:
$stylevar[imgdir_misc] - style_location/images/misc
Each style will need the images uploaded to their /images/misc folder.
Vizionz
08-15-2005, 04:33 PM
thanks harry your right :) total difference so thats why jmy actual radio station site takes a while to load i thought it was from the multi stream stats
jesus likes pie
08-15-2005, 04:40 PM
Upload the images to:
http://www.ugforums.org/ugforums/images/insignia/misc/
================================================== =====
Upload: Images |
===============
im_genre.gif, im_mirc.gif, radio.gif, shoutcast_off.gif, sound.gif
To:
$stylevar[imgdir_misc] - style_location/images/misc
Each style will need the images uploaded to their /images/misc folder.
oh....sorry...ill do that now. I didnt read that part right
EDIT: yup, that did it.
Zachariah
08-15-2005, 04:43 PM
oh....sorry...ill do that now. I didnt read that part right
No biggie it could of been my wording. :nervous:
Use the image below. I'll update the 1st post. I forgot to test it on a dark theme.
Vizionz
08-15-2005, 04:57 PM
have to rename it to gif though :P
Zachariah
08-15-2005, 05:03 PM
have to rename it to gif though :P
eh ? -- Rt Click the image SaveAs , It is a Gif; just name it.
Attach Files
Valid file extensions: bmp gif jpe jpeg jpg php png txt xml zip
radio.gif (1.4 KB)
jesus likes pie
08-15-2005, 05:06 PM
No biggie it could of been my wording. :nervous:
Use the image below. I'll update the 1st post. I forgot to test it on a dark theme.
Thanks
Zachariah
08-15-2005, 05:17 PM
Thanks
NP :ninja:
Hey you need a custom Guest Avatar for your welcome panel.
images/welcom_panel/guestavatar.gif (on every skin)
lamilein
08-24-2005, 05:35 PM
great port to vB3.5
will be used on our public forums as soon as 3.5 is available as a final build :)
* lamilein clicked install because he's using it on his local testing-machine :D
Staircase
08-27-2005, 01:29 AM
Eh. It works, but not really.
Btw, do you HAVE to have the IRC? Because I left that with the standard not knowing what it was and when the radio is online it says it's offline.
Zachariah
08-27-2005, 02:23 PM
Eh. It works, but not really.
Btw, do you HAVE to have the IRC? Because I left that with the standard not knowing what it was and when the radio is online it says it's offline.
1st post. telling about the hack
*Note to self add this to install file readme.txt
If you choose not to show any/all:
Variables used.
Here is a list of variables that can be used in your "forumhome_shoutcast". If do not wish to show data, just remove the variables.
$scdef = Default station name
$scip = IP shoutcast server
$scport = Port of shoutcast server
$scpass = Admin password (not DJ) to shoutcast server
$ircsite = IRC Server - EX: irc.server.com
$song[t] = Song History:t can range from 0-19. EX: $song[0], $song[1], $song[2] .... $song[19] ----- $song[0] (zerro) is the current song playing.
$servertitle = "Discription" - setting in DJ - DSP (I used for DJ Name).
$servergenre = - setting in DSP.
$bitrate = Quility of the Bitrate - setting in DJ - DSP .
$icq = ICQ# of DJ - setting in DJ - DSP.
$aim = AIM# of DJ - setting in DJ - DSP.
$irc = IRC room of DJ - setting in DJ - DSP.
$url = URL - setting in DJ - DSP
$currentlisteners = Current connected users.
$maxlisteners = Max users for the server.
$irclink = irc://$ircsite/$irc
$listenlink = 'http://$scip:$scport/listen.pls
I have a new ver perhaps today, that blows this out of the water. :tired:
Zachariah
08-28-2005, 02:27 AM
================================================== =====
Changelog |
================
1.5
- Added 19 song history vs. 5
- Added Windows Media Player popup
- Added Real Media Player popup
- Added Quicktime Media Player popup
- Added marquee to Curent song playing
- Added Avj. Connect Time (avj. of the total time users connected; untill server reboot)
- Added Media Type (tells what the source file format is: mpeg, CDA, WAV)
- Added Hit Count (total connections to the server since the server reboot)
- Added Most Ever (total connections at one time to the server since the server reboot)
- Added 4 images for choice of media player
Party on ! :banana: :bunny:
On Closed:
https://vborg.vbsupport.ru/external/2005/09/1.php?attachmentid=33967
On Open:
https://vborg.vbsupport.ru/external/2005/09/1.php?attachmentid=33966
Media Player
https://vborg.vbsupport.ru/external/2005/09/1.php?attachmentid=34148
Quicktime
https://vborg.vbsupport.ru/external/2005/09/1.php?attachmentid=34149
Real
https://vborg.vbsupport.ru/external/2005/09/1.php?attachmentid=34150
-------------------------------------------------------*/
Variables used.
================================================== =====
If you choose not to show any/all:
Here is a list of variables that can be used in your "forumhome_shoutcast". If do not wish to show data, just remove the variables.
$scdef = Default station name
$scip = IP shoutcast server
$scport = Port of shoutcast server
$scpass = Admin password (not DJ) to shoutcast server
$ircsite = IRC Server - EX: irc.server.com
$song[t] = Song History:t can range from 0-19. EX: $song[0], $song[1], $song[2] .... $song[19] ----- $song[0] (zerro) is the current song playing.
$servertitle = "Discription" - setting in DJ - DSP (I used for DJ Name).
$servergenre = - setting in DSP.
$bitrate = Quility of the Bitrate - setting in DJ - DSP .
$icq = ICQ# of DJ - setting in DJ - DSP.
$aim = AIM# of DJ - setting in DJ - DSP.
$irc = IRC room of DJ - setting in DJ - DSP.
$url = URL - setting in DJ - DSP
$currentlisteners = Current connected users.
$maxlisteners = Max users for the server.
$irclink = irc://$ircsite/$irc
$listenamp = http://$scip:$scport/listen.pls
$listenlnk = http://$scip:$scport
$averagemin = average listener time in minuets
Zachariah
08-29-2005, 01:59 PM
================================================== =====
Changelog |
================
8/29/2005 8:00am
1.6
- Fixed Media Player in non IE browsers
- Fixed Real Player in non IE browsers
All Is well enjoy !!
question?
08-29-2005, 06:02 PM
Any one made the module for VBADVANCED 2 Yet????
Zachariah
08-29-2005, 06:36 PM
Any one made the module for VBADVANCED 2 Yet????
https://vborg.vbsupport.ru/showthread.php?t=72570
Older ver, Ill have them updated w/ new code once all bugs are ironed out.
SmashinYoungMan
08-30-2005, 03:53 AM
https://vborg.vbsupport.ru/showthread.php?t=72570
Older ver, Ill have them updated w/ new code once all bugs are ironed out.
That actually works fine for me in vB3.5 RC2 as is.
Zachariah
08-30-2005, 01:07 PM
That actually works fine for me in vB3.5 RC2 as is.
cool !! :D - I upgraded the 3.0x forumhome. Ill work on the VBA mods soon.
Willy-K
08-31-2005, 08:08 AM
please delete.
Zachariah
09-01-2005, 01:52 PM
Can this be integrated into vBAdvanced?
https://vborg.vbsupport.ru/showthread.php?t=95394
GrendelKhan{TSU
09-13-2005, 06:50 AM
ok sorry for the n00b question...this is the first time I've heard of shoutcast...but it seems pretty cool.
but I'm a bit confused. If I install this...that means....
members can broadcast their own radio via the forums? or they have to have a shoutcast server set up on their own and then I can show its status on the forums (via this mod) and then other members can listen to it? or do I have to set up a shoucast server particular to the forum and just let other people listen to it?
so from a member's perspective.....if I wanted to make a "radio station" and show it on the forums:
--i first set up a shoutcast server via shoutcast server download (http://www.shoutcast.com/download/serve.phtml)
--or do I set up a "BE A DJ"?
then what? :confused: from the members' view?
and from the admins view?
again sorry for the n00b questions...but a lot of background to soak if you've never heard of it.
I'm also not sure what the difference is between lite and full (from a forum admin perspective) other than you need a password from shoutcast (do listeners need a password to listen??)
thank you for your patience, and any help would be greatly appreciated.
^^
Zachariah
09-13-2005, 01:27 PM
This hack connects to a server and relays its stats / info to your site. The server can be installed anywere as long as the IP can be accessed. You make the server or connect to a server.
The password I talk about is in the shoutcast server software itself. There is a mini web based client and admin section that the shoutcast server software makes on the computer it is installed to. This script needs the admin access to the shoutcast server to get the info to populate the forums w/ live info. It logs in collects the data and returns the info to the client.
The client does not need a password to connect.
I have a shoutcast server setup on a cable modem when I goof around and want to show some friends a few tunes I ran across. @60K upload I can do 16 people @ 24k music quility. (mono .. like AM radio)
Yes it is a hog. The bandwith useage depends on "# of users connected" and the quility of the song in kbps.
uploadspeed / bitrate = max listeners , always leave some for overhead
example in your case 256k uploadspeed / 56k bitrate = max 4 listeners ( 4* 56 = 224kbps ) keep in mind that your provider says he gives you 256kbps upload, the actual speed might be much lower.
Bitrates
192k CD quility
56k stereo
24k mono (like an AM radio, but works for music)
8k voice
BROADCASTING
Persons wanting to broadcast will need to run their own server, as per the instructions below, or find someone willing to run one for them. Once a server's located, broadcasters use Winamp and a plug-in called the SHOUTcast Source for Winamp Plug-In to send audio from Winamp to the SHOUTcast server. The tools are available here, and there's an entire section of the documentation dedicated to the plug-in.
RUNNING A SERVER
The magic of the SHOUTcast system happens inside the SHOUTcast Distributed Network Audio Server (DNAS). This software runs on a server attached to an IP network with lots of bandwidth, and is responsible for receiving audio from a broadcaster, updating the SHOUTcast directory with information about what the broadcaster is sending, and sending the broadcast out to listeners. More information is in the server section of the documentation.
More info (http://www.shoutcast.com/support/docs/)
Mathiau
09-14-2005, 09:13 PM
this looks nice!! checking it out.
Wordplay
09-16-2005, 08:00 AM
i'm not entirely sure whether or not i get this currectly. so does this let you upload and play your own music or is it just another play radio extensions software?
The Realist
09-17-2005, 06:37 PM
It allows you to broadcast music or any audio file from your own PC, then its transmited via the server and via your forum for members to listen to.
Laters
i'm not entirely sure whether or not i get this currectly. so does this let you upload and play your own music or is it just another play radio extensions software?
The Realist
09-17-2005, 06:40 PM
Now another question:
Is the below details:
$song[t] = Song History:t can range from 0-19. EX: $song[0], $song[1], $song[2] .... $song[19] ----- $song[0] (zerro) is the current song playing.
Is this in the template or file?
If I change the template +$song[0] as below to +$song[19] it does not show the last 19 songs played?
<td width="50%" style="padding-left: 5px" class="smallfont"><tt><marquee width="98%" scrolldelay="100" scrollamount="5">+ $song[0]</marquee></tt></td>
</tr>
Any ideas?
Laters
Zachariah
09-17-2005, 07:11 PM
Now another question:
Is the below details:
$song[t] = Song History:t can range from 0-19. EX: $song[0], $song[1], $song[2] .... $song[19] ----- $song[0] (zerro) is the current song playing.
Is this in the template or file?
If I change the template +$song[0] as below to +$song[19] it does not show the last 19 songs played?
<td width="50%" style="padding-left: 5px" class="smallfont"><tt><marquee width="98%" scrolldelay="100" scrollamount="5">+ $song[0]</marquee></tt></td>
</tr>
Any ideas?
Laters
$song[0] - current song "on-air"
$song[1] - song that played before $song[0]
$song[2] - song that played before $song[1]
$song[3] - song that played before $song[2]
$song[4] - song that played before $song[3]
and soforth to $song[19]
https://vborg.vbsupport.ru/external/2006/03/1.php?attachmentid=33910
all of these are in the current Hack - If installed and "on the Air" hit the collapse / expand Image.
I added the " + " (plus sign) as a place holder, it is not needed
If you want a many songs to list in the "marquee ", try:
List current and last 4 songs (total 5 songs)
<td width="50%" style="padding-left: 5px" class="smallfont"><tt><marquee width="98%" scrolldelay="100" scrollamount="5">+ $song[0] + $song[1] + $song[2] + $song[3] + $song[4] + $song[5]</marquee></tt></td>
</tr>
The Realist
09-17-2005, 07:34 PM
Thanks M8, testing now.
regards,
Brian
$song[0] - current song "on-air"
$song[1] - song that played before $song[0]
$song[2] - song that played before $song[1]
$song[3] - song that played before $song[2]
$song[4] - song that played before $song[3]
and soforth to $song[19]
https://vborg.vbsupport.ru/external/2006/03/1.php?attachmentid=33910
all of these are in the current Hack - If installed and "on the Air" hit the collapse / expand Image.
I added the " + " (plus sign) as a place holder, it is not needed
If you want a many songs to list in the "marquee ", try:
List current and last 4 songs (total 5 songs)
<td width="50%" style="padding-left: 5px" class="smallfont"><tt><marquee width="98%" scrolldelay="100" scrollamount="5">+ $song[0] + $song[1] + $song[2] + $song[3] + $song[4] + $song[5]</marquee></tt></td>
</tr>
Logik
09-25-2005, 04:22 AM
I need help, i added all the information in the plug in, but it still says that my server isnt up, and it is. I cant enable it, im uh, lost :) thanks
Logik
09-25-2005, 04:23 AM
// Shoutcast Server Stats
$scdef = "UGM Shoutcast";
$scip = "68.59.104.15";
$scport = "8000";
$scpass = "password";
$ircsite = "irc.server.net";
//End configuration
thats my code... whats wrong
Zachariah
09-25-2005, 02:53 PM
all looks correct :)
I have had another person have problems and here is what they did....
Isn't it a bummer when you find you cant use a good script cause your hosting provider is blocking outgoing an all non descript ports and your website is not on the same server as something like a shoutcast stream.
Dont let that stop you if an xml file is behind a port that you cant access from your site try something like this mod I did for this shoutcast hack
Extra requirements: LyNX browser on your shoutcast server - this is a command line browser, if your on a shoutcast shell you would normally find it allready is installed
If you have your own dedicated server for streaming its not hard to install if it isnt allready there
usage here lynx = starts the browser
-auth= to get into protected directories/files
-source will drop the content source to stdout
1> filename will trap the stdout to a file
lynx then just drops straigh back to command line ready for the next command as you added the switches for its job
eg:
lynx -auth=admin:dNASpasshere -source http://dNAS-IP-Or-Domain:port/admin.cgi?mode=viewxml 1> /webserver/path/public_html/filename.xml
to automate this just add a crontrab entry, dont do this till you are satisfied you have it right ;)
How to install so you can grab your shoutcast status from a permitted port 80:
You will need the files from the hack and a simple edit.
Find:
// ######################## CONFIGURATION AREA ############################
$scdef = "Shoutcast"; // Default station name
$scip = "0.0.0.0"; // ip or url of shoutcast server
$scport = "8000"; // port of shoutcast server
$scpass = "CHANGEME"; // admin password (not DJ) to shoutcast server
$ircsite = "irc.server.net"; // IRC Server - EX: irc.server.com
// ######################## END CONFIGURATION AREA ############################
change to:
// ######################## CONFIGURATION AREA ############################
$domain = "www.domainhere.com"; // The domain to retrieve the xml
$xmlfile = "filename.xml"; //xml filename from your saved stdout 1> filename.xml
$scdef = "Shoutcast"; // Default station name
$scip = "0.0.0.0"; // ip or url of shoutcast server
$scport = "8000"; // port of shoutcast server
$scpass = "CHANGEME"; // admin password (not DJ) to shoutcast server - In LynX to www mode no need for it
$ircsite = "irc.server.net"; // IRC Server - EX: irc.server.com
// ######################## END CONFIGURATION AREA ############################
Now edit the config section to suit. noting the 2 extra bits here
do the template bits and upload the images and index.php file as directed in the hack
run your lynx command in shell and then check out your Shoutcast module page if it worked great
you may want to try it a few times before you add your crontab entry.
Adding crontab from shell is easy, you will more than likely enter the vi editor after issuing the command crontab -e
you might want to do crontab -l first and copy that text safe, so you can easily restore the original cron entries if you mess up.
move your cursor to the line above where you would like your new cron line, hit o
now your in insert mode copy to your clip board your prepared cron line, to run this every 5 minutes would look something like:
*/5 * * * * lynx -auth=admin:dNASpasshere -source http://dNAS-IP-Or-Domain:port/admin.cgi?mode=viewxml 1> /webserver/path/public_html/filename.xml
paste it in (shift + insert)
hit the esc key
now input :x and hit enter to install your new crontab
enjoy :)
Logik
09-25-2005, 06:44 PM
i dont really understand that :x
Zachariah
09-25-2005, 10:01 PM
i dont really understand that :x
You might edit the Shoutcast server config file "sc_serv.ini" and change the port from 8000 to 80 and see if your host can get the stats from your shoutcast server.
Rem to edit your plugin to the new port also.
Logik
09-25-2005, 11:07 PM
ahh yes, that worked <333 Thanks man!
Logik
09-25-2005, 11:09 PM
ok now under the current song it doesnt show a song..hm
Zachariah
09-25-2005, 11:37 PM
ok now under the current song it doesnt show a song..hm
Good to see that worked :D
The ID3v1 tag is on each Mp3. You can access it getting the "options" of a song in your Winamp Playlist.
I USE:
MP3Ext is an extension for the Windows Explorer (http://odin.mutschler.de/mp3ext/).
It enhances it, so you can get information in many ways:
A PropertyPage is installed, where you can fully edit the ID3-Tag
An icon-handler for individual icons is included too
Tooltips, when you simply leave the mouse over the MP3-file (only with IE4.0 Active Desktop)
--------------------------------------------------------------------------------
The features in more detail are:
install/uninstall feature
running on Win95 / WinNT 4.0
multithreaded
easy to use GUI
editing of multiple files
ID3v2 support: this includes unlimited strings, classic support, ...
automatic generation of the ID3-tag from the filename
exporting the information in a file or clipboard
customizable Tooltips
it's giftware
What is ID3 (v1)?
The audio format MPEG layer I, layer II and layer III (MP3) has no native way of saving information about the contents, except for some simple yes/no parameters like "private", "copyrighted" and "original home" (meaning this is the original file and not a copy). A solution to this problem was introduced with the program "Studio3" by Eric Kemp alias NamkraD in 1996. By adding a small chunk of extra data in the end of the file one could get the MP3 file to carry information about the audio and not just the audio itself.
The placement of the tag, as the data was called, was probably chosen as there were little chance that it should disturb decoders. In order to make it easy to detect a fixed size of 128 bytes was chosen. The tag has the following layout (as hinted by the scheme to the right):
Song title: 30 characters
Artist: 30 characters
Album: 30 characters
Year: 4 characters
Comment: 30 characters
Genre: 1 byte
If you one sum the the size of all these fields we see that 30+30+30+4+30+1 equals 125 bytes and not 128 bytes. The missing three bytes can be found at the very beginning of the tag, before the song title. These three bytes are always "TAG" and is the identification that this is indeed a ID3 tag. The easiest way to find a ID3v1/1.1 tag is to look for the word "TAG" 128 bytes from the end of a file.
As all artists doesn't have a 30 character name it is said that if there is some bytes left after the information is entered in the field, those bytes should be fille with the binary value 0. You might also think that you cannot write that much in the genre field, being one byte big, but it is more clever than that. The byte value you enter in the genre field corresponds to a value in a predefined list. The list that Eric Kemp created had 80 entries, ranging from 0 to 79.
What is ID3v1.1?
ID3v1 may well be easy to implement for programmers, but it sure is frustrating for those with their own, creative ideas. Since the ID3v1 tag had a fixed size and no space marked "Reserved for future use", there isn't really room for that much improvement, if you want to maintain compatibility with existing software.
One who found a way out was Michael Mutschler who made a quite clever improvement on ID3v1. Since all non-filled fields must be padded with zeroed bytes its a good assumption that all ID3v1 readers will stop reading the field when they encounter a zeroed byte. If the second last byte of a field is zeroed and the last one isn't we have an extra byte to fill with information. As the comments field is to short to write anything useful in the ID3v1.1 standard declares that this field should be 28 characters, that the next byte always should be zero and that the last byte before the genre byte should contain which track on the CD this music comes from.
Logik
09-25-2005, 11:41 PM
man u always lose me.
Zachariah
09-25-2005, 11:45 PM
man u always lose me.
For the info of song title and artists to show up in car mp3 radios, portables, and the shoutcast system you will need to fill out the ID3v1 tag . If you do not, most systems give a "dash" as the feed title vs. the mp3 file name.
Another note:
ID3v2 tag can be filled out, but if it is blank of data and is enabled to send data then the feed will also show a "dash" w/o file info.
If that is ok.
Then
Are you useing winamp to cast ?
Make sure the Auto has the checks marks and [x] enable title updates
https://vborg.vbsupport.ru/external/2005/11/1.php?attachmentid=26525
Logik
09-25-2005, 11:50 PM
My mp3s have id3 tags and it still doesnt show...?
Logik
09-25-2005, 11:51 PM
ok got it man got it thanks
Pramodinfo
10-01-2005, 07:32 PM
Installed on vb 3.5.0 works like a charm, thanks for the hack :)
Zachariah
10-01-2005, 08:12 PM
Installed on vb 3.5.0 works like a charm, thanks for the hack :)
Glad to see it helped :)
carrie31
10-02-2005, 11:01 PM
it's awesome 。。。just wonder whether there is a lite version of this hack ? 。。。have no idea how to set the config and how to get the password :(
Sooner95
10-03-2005, 07:32 PM
Yea, I liked the Lite version too, is there going to be one for 3.5? if not, I can go the Full route if needed.. Thanks
Zachariah
10-03-2005, 07:51 PM
Yes a light ver is soon. Perhaps tonight.
Sooner95
10-03-2005, 10:03 PM
that's all I needed to know... Will be awaiting it. Thx!
Zachariah
10-04-2005, 01:07 AM
that's all I needed to know... Will be awaiting it. Thx!
Shoutcast Status Lite (https://vborg.vbsupport.ru/showthread.php?t=97500)
:D
Wasim
10-06-2005, 07:17 AM
wow, i love this hack. I wonder if there is any possible way to have users vote what song will play next from the playlist. Or maybe give the users a choice of three songs and they vote for the next song from those choices. That would be awesome!
Still an awesome hack.
Zachariah
10-06-2005, 12:59 PM
wow, i love this hack. I wonder if there is any possible way to have users vote what song will play next from the playlist. Or maybe give the users a choice of three songs and they vote for the next song from those choices. That would be awesome!
Still an awesome hack.
There are DJ/Server packages out there with full Web request, stats, playlists, all types of stuff. You would use this to connect to the shoutcast server insted of winamp. Usaly on a detecated system or what ever you have :D
1 place ( there are many out there)
http://www.spacialaudio.com/products/index.html
I think I seen a few "less toy" free / low cost ver. out there on the net over the years. I still use winamp 2.91 ;D
jklimczak
10-08-2005, 02:59 PM
has any one used stream cast with this hack
Zachariah
10-08-2005, 06:45 PM
has any one used stream cast with this hack
I do not know. Give me info on the system. I might be able to whip something up.
jklimczak
10-11-2005, 10:07 PM
<a href="http://www.steamcast.com/" target="_blank">http://www.steamcast.com/</a> its like shoutcast Just plays aol meda player as well I tryed it and it will not connect to the page
Zachariah
10-11-2005, 10:25 PM
http://www.steamcast.com/ its like shoutcast Just plays aol meda player as well I tryed it and it will not connect to the page
I will have something soon.
Zachariah
10-17-2005, 12:53 AM
http://www.steamcast.com/ its like shoutcast Just plays aol meda player as well I tryed it and it will not connect to the page
Got one made and working.
https://vborg.vbsupport.ru/showthread.php?t=98538
jklimczak
10-17-2005, 09:03 PM
Got one made and working.
https://vborg.vbsupport.ru/showthread.php?t=98538
u are the Best
jesus likes pie
10-18-2005, 12:47 AM
It says the server is down but I know that I entered all the info in correctly and it is up...
Zachariah
10-18-2005, 01:01 AM
It says the server is down but I know that I entered all the info in correctly and it is up...
Admincp => Plugin Manager => Hook Location : forumhome_complete => Shoutcast Status Full - Main => EDIT
- Change values with in the "quotes" to your shoutcast server settings.
//Configuration
$scdef = "Server Name";
$scip = "xxx.xxx.xxx.xxx";
$scport = "8000";
$scpass = "changeme"; // admin password to (not DJ) shoutcast server
$ircsite = "irc.server.com";
//End configuration
Make sure there are no spaces "xxx.xxx.xxx.xxx ", "password "
If there is a space inside the quotes it will not work.
Pramodinfo
10-18-2005, 08:35 AM
Zachariah ,waitng for the multistream version please :)
jesus likes pie
10-18-2005, 10:07 AM
// Shoutcast Server Stats
$scdef = "UberGamers Radio";
$scip = "butter.sytes.net";
$scport = "8001";
$scpass = "xxxxx";
$ircsite = "irc.vbulletin-fans.com";
//End configuration
Still doesn't work.
Zachariah
10-18-2005, 01:33 PM
// Shoutcast Server Stats
$scdef = "UberGamers Radio";
$scip = "butter.sytes.net";
$scport = "8001";
$scpass = "xxxxx";
$ircsite = "irc.vbulletin-fans.com";
//End configuration
Still doesn't work.
I do not see a problem w/ dynamic DNS host. (but, a real IP will respond faster). I see port 8001 vs. 8000.
If you edit your sc_serv.ini file of your shoutcast server config file.
; PortBase. This is the IP port number your server will run on. The
; value, and the value + 1 must be available. If you get a fatal error when
; the DNAS is setting up a socket on startup, make sure nothing else on the
; machine is running on the same port (telnet localhost portnumber -- if you
; get connection refused then you're clear to use that port). Ports < 1024
; may require root privledges on *nix machines. The default port is 8000.
PortBase=8000
Then your server opens another port +1 (IE: 8001) the shoutcast Hack needs to be set to "PortBase". You need to open any firewalls (8000,8001) and port forward them to your local LAN shoucast server if behind a router.
jesus likes pie
10-18-2005, 03:30 PM
yes, my portbase is 8001, so I have 8001 and 8002 open in my router. A reak IP doesnt work either...funny because this used to work before, I was using the first release (see my post on page number 1), but then we stopped broadcasting. We started again last night, upgraded, and now it doesn't work...
By the way, the D.J is not hosting the server if that makes a difference.
// Shoutcast Server Stats
$scdef = "idoRadio";
$scip = "62.193.243.147";
$scport = "6060";
$scpass = "x";
$ircsite = "";
//End configuration
i have done it like that but my radio seems offline
what is wrong?
NuclioN
10-22-2005, 01:26 PM
Great add. Can you please make it so that nothing of the offline info (buttons etc.) is visible when shoutcast is offline?
Zachariah
10-22-2005, 02:03 PM
Great add. Can you please make it so that nothing of the offline info (buttons etc.) is visible when shoutcast is offline?
edit:
forumhome_shoutcast_off
remove all content
save
Don't remove the template just "empty" it.
NuclioN
10-22-2005, 04:45 PM
Worked perfect, tnx :)
// Shoutcast Server Stats
$scdef = "idoRadio";
$scip = "62.193.243.147";
$scport = "6060";
$scpass = "x";
$ircsite = "";
//End configuration
i have done it like that but my radio seems offline
what is wrong?
solved :D port problem :) thank you.
question?
10-26-2005, 01:44 PM
Can you use AJAX to pull stats like every x seconds or somthing? It keeps showing the old songs etc..
Zachariah
10-26-2005, 03:03 PM
Can you use AJAX to pull stats like every x seconds or somthing? It keeps showing the old songs etc..
I had a thought of that or a mini-iframe w/ 2-3 min refreash.
question?
10-27-2005, 06:19 AM
Nah, i prefer the AJAX becuase it doesn't flash for a second etc...
BlackxRam
10-28-2005, 06:59 AM
Mine Has Stopped Working As Well.
I installed this last night.... it all worked. I turned it off overnight... went back to it today... doesnt see the server online at all.
Infact... NONE of my shoutcast scripts are working at the moment.... but shoutcast.com sees me...
is there some kind of additional config that maybe defaulted on me? Everything looks normal to me and i have been broadcasting for a few years.... i dunno. Its wierd.
Zachariah
10-28-2005, 12:12 PM
Mine Has Stopped Working As Well.
I installed this last night.... it all worked. I turned it off overnight... went back to it today... doesnt see the server online at all.
Infact... NONE of my shoutcast scripts are working at the moment.... but shoutcast.com sees me...
is there some kind of additional config that maybe defaulted on me? Everything looks normal to me and i have been broadcasting for a few years.... i dunno. Its wierd.
Can you link to your shoutcast server via. listener / web interface ?
http://xxx.xxx.xxx.xxx:port ?
Understand you may not have problems w/ code. I have seen a few cases that webserver hosts do not allow external script to poll ports that are not port 80.
GuaRRand
10-28-2005, 12:40 PM
oh crap,so you cant just get a link from shoutcast.com??????
Zachariah
10-28-2005, 01:17 PM
oh crap,so you cant just get a link from shoutcast.com??????
sure that is easy, but that will not be done by Shoutcast Status Full (VB3.5) you need to install the Lite ver. It can access a server w/o a Admin password. There will be less data the hack can get, but your station will show up.
zell_11
10-28-2005, 06:34 PM
Mate my media player, real player etd don't work. All they do is load and display done. Do you know what could be wrong?
BlackxRam
10-31-2005, 07:16 AM
Mine is working again. Seems if your file for the output track list can get bugged... deleteing the content INSIDE this file completely, (not removing the file itself) then loading up a new playlist and clicking the first few songs got it working again.
Dunno why... but its good now. Dont let that output file get TOO big.
hugh_
10-31-2005, 07:56 AM
Would this work with an icecast stream? Please say yes... :)
Zachariah
10-31-2005, 12:02 PM
Mine is working again. Seems if your file for the output track list can get bugged... deleteing the content INSIDE this file completely, (not removing the file itself) then loading up a new playlist and clicking the first few songs got it working again.
Dunno why... but its good now. Dont let that output file get TOO big.
You know there is a delay on the shoutcast servers by almost 30 sec @ time. The XML output on the site is updated before the client will hear the song. If you server is not waiting for the xml long enough.
Admincp => Plugin Manager => Hook Location : forumhome_complete => Shoutcast Status Full - Main => EDIT
Find:
// Parses shoutcasts xml to make an effective stats thing for any website
$scfp = @fsockopen($scip, $scport, &$errno, &$errstr, 1);
value is 1-1000 - this is the delay to get the info in milliseconds. This will also add that delay to your page refreash that the hack is on.
The way it works, is that the request for the info is made and the script will delay untill all data is given from the request or the time value is reached, then displays.
Would this work with an icecast stream? Please say yes... :)
I have not looked @ the output of Icecast. Got a server I can test on / make a hack from ? - if so PM me.
bspiller82
10-31-2005, 08:24 PM
Is there a way to add the info to the top of the forums? When I add it to the top it's not in the frame box like it is when you add it on the bottom.
Zachariah
10-31-2005, 09:15 PM
Is there a way to add the info to the top of the forums? When I add it to the top it's not in the frame box like it is when you add it on the bottom.
Edit: Template(s)
forumhome_shoutcast, forumhome_shoutcast_off
@ the top
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
@ the bottem
</table>
bspiller82
11-01-2005, 01:57 AM
Thanks!
Zachariah
11-01-2005, 02:13 AM
Thanks!
Looks good :)
bspiller82
11-01-2005, 02:34 AM
Looks good :)
Thanks :)
Ben5150
11-01-2005, 04:04 AM
Installed thanks Zach
bspiller82
11-10-2005, 11:34 PM
Is there some type of server requiments to run this? I switched hosts and it stopped working!?
Zachariah
11-11-2005, 01:56 AM
Is there some type of server requiments to run this? I switched hosts and it stopped working!?
I have seen web servers not allow external query on non standard ports.
It only needs a IP, Port, shoutcast Admin PW from the shoutcast server your connecting to.
NxTek
11-11-2005, 01:53 PM
When will the CMPS version be available?
Zachariah
11-11-2005, 02:05 PM
When will the CMPS version be available?
Release: 08.31.05
https://vborg.vbsupport.ru/showthread.php?s=&threadid=95394
:beard:
NxTek
11-11-2005, 02:13 PM
Oops sorry wrong thread -- I meant to ask about the Lite version. :)
Zachariah
11-11-2005, 02:28 PM
Oops sorry wrong thread -- I meant to ask about the Lite version. :)
opps I did forget on that :| - Perhaps today .... :D
puertoblack2003
11-15-2005, 02:19 PM
good day,
i have everything hooked up correctly but one thing that i'm stuck on your on your instructions that it's a free service with shoutcast now i went to the site i a noob to this i have no clue to where and how to get the info to change info to configure the shout cast hacK ex://Configuration
$scdef = "Server Name"; // Default station name
$scip = "0.0.0.0"; // ip or url of shoutcast server
$scport = "8000"; // port of shoutcast server
$scpass = "changeme"; // admin password to (not DJ) shoutcast server
$ircsite = "irc.server.com"; // IRC Server - EX: irc.server.com
//End configuration where can i sign up to get this info so i can get this running or can you direct me to a right direction. :ermm:
Thank You.
Zachariah
11-15-2005, 04:53 PM
Full info on creating and running a shoutcast radio station.
http://www.shoutcast.com/support/docs/
Downloads:
http://www.shoutcast.com/download/serve.phtml
This hack ties in your site w/ your shoutcast server
good day,
i have everything hooked up correctly but one thing that i'm stuck on your on your instructions that it's a free service with shoutcast now i went to the site i a noob to this i have no clue to where and how to get the info to change info to configure the shout cast hacK ex://Configuration
$scdef = "Server Name"; // Default station name
$scip = "0.0.0.0"; // ip or url of shoutcast server
$scport = "8000"; // port of shoutcast server
$scpass = "changeme"; // admin password to (not DJ) shoutcast server
$ircsite = "irc.server.com"; // IRC Server - EX: irc.server.com
//End configuration where can i sign up to get this info so i can get this running or can you direct me to a right direction. :ermm:
Thank You.
puertoblack2003
11-15-2005, 07:38 PM
Full info on creating and running a shoutcast radio station.
http://www.shoutcast.com/support/docs/
Downloads:
http://www.shoutcast.com/download/serve.phtml
This hack ties in your site w/ your shoutcast server
ok almost done zac i appreciate your help i think i have everything now when i follow to your instruction to put the info like the configurations so it can play to my web site it's not playing unless i did something wrong maybe this info photo u can point me to so i can configure to the web...
https://vborg.vbsupport.ru/ (http://img389.imageshack.us/my.php?image=winamp7ag.png)
//Configuration
$scdef = "sky fm "; // Defau lt station name
$scip = "192.168.1.100"; // ip or url of shoutcast server
$scport = "8000"; // port of shoutcast server
$scpass = "changeme"; // admin password to (not DJ) shoutcast server
$ircsite = "irc.server.com"; // IRC Server - EX: irc.server.com
//End configuration
is this right to the configure
Zachariah
11-17-2005, 12:36 PM
ok almost done zac i appreciate your help i think i have everything now when i follow to your instruction to put the info like the configurations so it can play to my web site it's not playing unless i did something wrong maybe this info photo u can point me to so i can configure to the web...
http://img389.imageshack.us/img389/4741/winamp7ag.th.png (http://img389.imageshack.us/my.php?image=winamp7ag.png)
//Configuration
$scdef = "sky fm "; // Defau lt station name
$scip = "192.168.1.100"; // ip or url of shoutcast server
$scport = "8000"; // port of shoutcast server
$scpass = "changeme"; // admin password to (not DJ) shoutcast server
$ircsite = "irc.server.com"; // IRC Server - EX: irc.server.com
//End configuration
all is well it looks like :)
is this right to the configure
know that 192.168.1.100 is a local LAN IP and not something that you can access from the internet w/o "port forwarding" from your router to your local PC.
Log-in to your router -
There is an area for "port fowarding".
On some routers you can forward a range of ports or 1 at a time.
forward: 8000,8001 => 192.168.1.100.
The settings on the hack must have your WAN IP of your cable/dsl/T1 outside IP. In the router there is a "status" area that will tell you your WAN IP.
Your outside requests for port 8000,8001 will be pushed via router to your shoutcast server.
EX:
my outside cable modem WAN IP / Internet IP - 24.85.56.251
My local LAN IP that the router gives my system - 192.168.5.69
You can connect to your shoutcast server as a client and a DJ via WAN - IP:PORT
puertoblack2003
11-17-2005, 09:13 PM
thank you sir,
apparently it's not working tried everything as you instructed i'm not good with all that networking and configuring scripts, i'll leave it alone to clear my head been at it for a while..
thanks.
Zachariah
11-17-2005, 10:35 PM
thank you sir,
apparently it's not working tried everything as you instructed i'm not good with all that networking and configuring scripts, i'll leave it alone to clear my head been at it for a while..
thanks.
If ya still need help get me on IM.
HeLLCiTo
11-18-2005, 03:22 PM
I install it on 3.5.1 , and when i install pugin (not configurated) i get a blank page , and after i configure, i get also a blank page :(
sorry about my english, but i?m spanish
HeLLCiTo
11-18-2005, 04:48 PM
it works now in webserver, i install it previosly in localhost
thaks
HeLLCiTo
11-18-2005, 10:23 PM
Edit: Template(s)
forumhome_shoutcast, forumhome_shoutcast_off
@ the top
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
@ the bottem
</table>
can you explain more ???,i want to put it above of user cp i did that but it does?t work
How do i get it to look like this ive done everything in instructions https://vborg.vbsupport.ru/attachment.php?attachmentid=33910
only part i didnt touch was
Variables used.
Here is a list of variables that can be used in your "forumhome_shoutcast". If do not wish to show data, just remove the variables.
$scdef = Default station name
$scip = IP shoutcast server
$scport = Port of shoutcast server
$scpass = Admin password (not DJ) to shoutcast server
$ircsite = IRC Server - EX: irc.server.com
$song[t] = Song History:t can range from 0-19. EX: $song[0], $song[1], $song[2] .... $song[19] ----- $song[0] (zerro) is the current song playing.
$servertitle = "Discription" - setting in DJ - DSP (I used for DJ Name).
$servergenre = - setting in DSP.
$bitrate = Quility of the Bitrate - setting in DJ - DSP .
$icq = ICQ# of DJ - setting in DJ - DSP.
$aim = AIM# of DJ - setting in DJ - DSP.
$irc = IRC room of DJ - setting in DJ - DSP.
$url = URL - setting in DJ - DSP
$currentlisteners = Current connected users.
$maxlisteners = Max users for the server.
$irclink = irc://$ircsite/$irc
$listenamp = http://$scip:$scport/listen.pls
$listenlnk = http://$scip:$scport
$averagemin = average listener time in minuets
$peaklisteners = Most Ever
$content = Media Type
$streamhits = Hit Count
As im not 100% where to add or edit
sites http://gamexmania.com it runs fine but i would like to show full status as in the screeny above
Zachariah
11-27-2005, 07:36 AM
I do not see your Site. If the hack works on your site: Hit collapse / expand image to see "extra info.
"Variables used" are all in use. If you wanted to redo your template design.
/buttons/collapse_thead.gif
/buttons/collapse_thead_collapsed.gif
Http://www.gzhq.net/forums/
- Hit the "+" and "-" on my shoutcast install.
When I 1st made the hack in my mind was a lot of data and little space.
How do i get it to look like this ive done everything in instructions https://vborg.vbsupport.ru/attachment.php?attachmentid=33910
only part i didnt touch was
Variables used.
Here is a list of variables that can be used in your "forumhome_shoutcast". If do not wish to show data, just remove the variables.
$scdef = Default station name
$scip = IP shoutcast server
$scport = Port of shoutcast server
$scpass = Admin password (not DJ) to shoutcast server
$ircsite = IRC Server - EX: irc.server.com
$song[t] = Song History:t can range from 0-19. EX: $song[0], $song[1], $song[2] .... $song[19] ----- $song[0] (zerro) is the current song playing.
$servertitle = "Discription" - setting in DJ - DSP (I used for DJ Name).
$servergenre = - setting in DSP.
$bitrate = Quility of the Bitrate - setting in DJ - DSP .
$icq = ICQ# of DJ - setting in DJ - DSP.
$aim = AIM# of DJ - setting in DJ - DSP.
$irc = IRC room of DJ - setting in DJ - DSP.
$url = URL - setting in DJ - DSP
$currentlisteners = Current connected users.
$maxlisteners = Max users for the server.
$irclink = irc://$ircsite/$irc
$listenamp = http://$scip:$scport/listen.pls
$listenlnk = http://$scip:$scport
$averagemin = average listener time in minuets
$peaklisteners = Most Ever
$content = Media Type
$streamhits = Hit Count
As im not 100% where to add or edit
sites http://gamexmania.com it runs fine but i would like to show full status as in the screeny above
Sorry m8 URL was wrong http://gamezmania.com it is.
Also never thought on hitting that button i see it all now thanks
Kev
Now it wont change the songs it plays it just constantly shows a song played 2 days ago the game when we tested it is there a way to fix this.
Thanks
Kev
Zachariah
11-28-2005, 05:23 PM
Now it wont change the songs it plays it just constantly shows a song played 2 days ago the game when we tested it is there a way to fix this.
Thanks
Kev
Are you useing winamp to cast ?
Make sure the Auto has the checks marks and [x] enable title updates
https://vborg.vbsupport.ru/attachment.php?attachmentid=26525
Try that.
Worked a treat
Thank you once again
Zachariah
11-28-2005, 10:33 PM
Worked a treat
Thank you once again
Not a problem. Glad you got it worken. :)
dagger77
12-01-2005, 10:30 PM
so is there away to know anyones server info so that my forum members can hear!
i mean i dont want to make a server . but want my members to hear any radio that i chouse from shoutcast.com site ?
sorry for the spellings
Zachariah
12-01-2005, 11:02 PM
so is there away to know anyones server info so that my forum members can hear!
i mean i dont want to make a server . but want my members to hear any radio that i chouse from shoutcast.com site ?
sorry for the spellings
Yes Sir.
Shoutcast Status Lite 1.6 on your VB3.5 Forum Home (https://vborg.vbsupport.ru/showthread.php?s=&threadid=97500)
dagger77
12-02-2005, 03:44 AM
ohh well greattt man :)
I and my members LOVE YOU
samu2
12-02-2005, 11:30 AM
I am so totally lost on what the password is
Where can I find this information please?
Configuration
$scdef = "Server Name"; // Default station name
$scip = "0.0.0.0"; // ip or url of shoutcast server
$scport = "8000"; // port of shoutcast server
$scpass = "changeme"; // admin password to (not DJ) shoutcast server
$scdef = "Server Name"; // Default station name
$scip = "0.0.0.0"; // ip or url of shoutcast server
$scport = "8000"; // port of shoutcast server
$scpass = "changeme"; // admin password to (not DJ) shoutcast server
Servername is what you want your station to be called.
Scip this is the IP address of where your shoutcast is installed.
Port the port you are using to broadcast through deafault is usually 8000
Password is whatever the password you gave your shoutcast when you originally set it up.
Have you installed shoutcast on your server or PC.
If not go here for more info http://www.shoutcast.com/download/ and click Be a DJ.
Enjoy
Zachariah
12-02-2005, 12:48 PM
@kpr - Thanks for the help w/ samu2.
Todo's / Ideas:
1) XML Cache
- this way there is less requests on the shoutcast server from the website.
- makes the page that the hack is on have less lag time to load.
2) there is some more info the shoutcast server gives that can be collected and displayed.
Like a WOL - Who's on Line
- Client (connected info)
-- IP address - this could be set to be hidden by usergroup access
-- Useragent - IE: useing WinampMPEG/2.9
-- Under Run Count - # times listener gets "LAG"
-- Connection Time - The time the user is tuned in.
I was thinking of making a page w/ a link on the Module to perhaps a pop-up window or a Full page in a new window.
3) Re-do the code in the players so that if the player is selected and is not installed "auto install request" vs. a red X where the plugin should be.
4) Fully Phrased
Sia Bani
12-02-2005, 08:51 PM
Is this ok to use on 3.5.1?
Zachariah
12-02-2005, 08:54 PM
Yes it is.
hugh_
12-08-2005, 11:27 AM
Z,
Were you able to put any thought into Icecast support? I'm really suffereing without it...
hugh
The Ottoman
12-09-2005, 09:46 PM
I've got a quick question.
I install the .xml file as instructed to do so via Managed Products, and the moment that I do my website stops responding for the users to the point where I need to uninstall the product for the site to come back online.
Any ideas what would be causing this?
Thanks
BlackxRam
12-12-2005, 03:22 AM
There is still issues with this script Zac man. Right now my server is online and running however the script doesnt recognize that it is online. Shoutcast sees it, and other web scripts do as well, but the forum one does not.
Its like hit or miss on whether the script can connect to the SC server. Sometimes it works... sometimes it doesnt.
Zachariah
12-12-2005, 11:06 AM
There is still issues with this script Zac man. Right now my server is online and running however the script doesnt recognize that it is online. Shoutcast sees it, and other web scripts do as well, but the forum one does not.
Its like hit or miss on whether the script can connect to the SC server. Sometimes it works... sometimes it doesnt.
Edit:
Plugin system - Plugin Manager - Shoutcast Status Full - Main
$scfp = @fsockopen($scip, $scport, &$errno, &$errstr, 1);
The 1 (one) at the end is the delay time to wait for info from the server.
- The less the better. 30 is default usaly.
BlackxRam
12-12-2005, 05:47 PM
It was on for over 12 hours last night, never once recognized it. Just to let you know, im not a newbie with these shoutcast scripts, so I know for certain my info is correct and all cause I know that comment is soon to be tossed around heh.
But yeah, 12 hours and nothing doing. Tried multiple reboots and nothing. Any other ideas why its not picking it up? Shoutcast.com sees it, some of my other scripts do but this one is hit or miss. Sometimes it shows, but when it doesnt its usually for LONG periods of time.
This is a great hack but I am not sure what I need to change in order to make the media player, realplayer and quick time links work. As of right now, it keeps defaulting to my home page. Any ideas?
pixie
12-29-2005, 07:17 AM
Would this work with an icecast stream? Please say yes... :)
I have not looked @ the output of Icecast. Got a server I can test on / make a hack from ? - if so PM me.
same question for me
This hack is beautifull and i'll be really happy to use with ly icecast server
How can i do ?
Scuse for my bad english....
Zachariah
12-29-2005, 12:25 PM
This will not work w/ Icecast.
I will work on a Icecast ver soon.
I am backed up about 3 projects @ the moment. I will see what I can do ASAP.
pixie
12-29-2005, 01:28 PM
thank's ? lot for the answer ;)
This is a great hack but I am not sure what I need to change in order to make the media player, realplayer and quick time links work. As of right now, it keeps defaulting to my home page. Any ideas?
Just bumping :)
Zachariah
12-30-2005, 01:01 AM
Just bumping :)
Have you killed the older Ver include revert the templates to make then uninstall ? Then do an update useing the new build.
I have seen many time in Dev that the templates do not like to unistall with the product unistall if they have been edited.
d8tabyte
01-03-2006, 06:46 PM
I have this installed, I am broadcasting off a private server http://69.93.182.18:9352 is my feed - if you check it, you will see that it is active yet nothing I do will make the feed apear active on my forum home.
Below is my settings.
// Shoutcast Server Stats
$scdef = "DigitalET Radio - Sponsored by Battlestationradio.net";
$scip = "69.93.182.18";
$scport = "9352";
$scpass = "my password";
$ircsite = "";
//End configuration
I would very much like to use this hack
d8tabyte
01-06-2006, 01:48 AM
nothin huh.
Could it be the default name not allowing it - as I dont have a default name in the shoutcast server - or can that be anything
Pramodinfo
01-06-2006, 01:52 AM
Zachariah, any update on running two server stats at a time :) ?
texasasl
01-06-2006, 08:19 AM
Zachariah I have already installed this nice hack but I'm transmitting in three different bitrates 24kbps - 32kbps - and 40-64kbps. I wish to give my mebers the ability to choose which bitrate they will be listening to. Any idea how I can do this as the original one leads only (for all winamp-WM-RP-QT) to 64kbps.??????
I will be appreciated for your reply and thanks in advance.
Zachariah
01-06-2006, 10:00 AM
nothin huh.
Could it be the default name not allowing it - as I dont have a default name in the shoutcast server - or can that be anything
If you can not connect to the server and the setting you have in the plugin are the same as the above post then you webhost is blocking the option to query other system other than localhost on ports other than port 80.
Send a trouble ticket to your provider.
I want to setup a php script that reads an XML feed on a remote IP:PORT, and my current webserver setting will not allow this.
Please Advise.
In your own words :)
- 9/10 times they will tell you ports that they allow this on.
- 1/10 times they will tell your to "pound sand".
If you do not have a website on the same server as your shoutcast server, set your shoutcast server to port: 80 vs. 8000
- adj. the script accordingly
You could get lucky :D
Zachariah I have already installed this nice hack but I'm transmitting in three different bitrates 24kbps - 32kbps - and 40-64kbps. I wish to give my mebers the ability to choose which bitrate they will be listening to. Any idea how I can do this as the original one leads only (for all winamp-WM-RP-QT) to 64kbps.??????
I will be appreciated for your reply and thanks in advance.
I am working:
- on multi server support.
- on a Admin "stat page" that shows:
* users connected - table list of (IP address, time online, client software used to listen, buffer underruns)
- other things that I'll have to look over the notes to REM.
I'll take a look @ multi bitrates. Can you PM me your server link w/ multi feeds bitrates?
d8tabyte
01-06-2006, 11:31 AM
I said screw the other server, started one up on my home computer and I'll invest in hosting on a shoutcast friendly server - you were right - it was the port tripping me up on my server side... I couldn't see that port from my server... I changed it to 80 on my home comp and its working fine.
Another ? - is it possible to add AJAX to this so it updates soon as a song changes?
d8tabyte
01-09-2006, 11:44 PM
Bump -
Anyone?
Zachariah
01-10-2006, 12:27 AM
I have not played a lot yet w/ AJAX.
texasasl
01-10-2006, 07:36 PM
I am working:
- on multi server support.
- on a Admin "stat page" that shows:
* users connected - table list of (IP address, time online, client software used to listen, buffer underruns)
- other things that I'll have to look over the notes to REM.
I'll take a look @ multi bitrates. Can you PM me your server link w/ multi feeds bitrates?
Zachariah I have sent you already the requested pm do you have any news????
Zachariah
01-10-2006, 08:20 PM
Zachariah I have sent you already the requested pm do you have any news????
No news :disappointed:
- I have been working on gallery updates and have not picked up alot on other hacks much.
- I am looking @ a week or so before I can start working on it again.
croft
01-12-2006, 01:55 AM
I finaly got this to work with our new host =)
My new question is this tho.
I have added a left column to my forum and have moved EVERYTHING from whats going on box to the left column but i have the shoutcast left to do.
How can i move it to a side column ?
MissKalunji
01-12-2006, 01:00 PM
can anyone help me reinstall shoutcast on my pc?
i cant figure out what im doing wrong...
Thanks in advance
Zachariah
01-12-2006, 05:23 PM
can anyone help me reinstall shoutcast on my pc?
i cant figure out what im doing wrong...
Thanks in advance
Whats the problem ?
MissKalunji
01-12-2006, 05:30 PM
Whats the problem ?
everytime i try to click it says filter not found....
texasasl
01-13-2006, 08:23 AM
No news :disappointed:
- I have been working on gallery updates and have not picked up alot on other hacks much.
- I am looking @ a week or so before I can start working on it again.
Ok no problem I'm just waiting. Please if there are any news just pm me.Thank you.
Xplorer4x4
01-13-2006, 03:39 PM
It would be nice if it saved the cookie data as to weather the table was expanded or collapsed, otherwise awsome hack man.
Xplorer4x4
01-15-2006, 11:38 AM
This hack connects to a server and relays its stats / info to your site. The server can be installed anywere as long as the IP can be accessed. You make the server or connect to a server.
The password I talk about is in the shoutcast server software itself. There is a mini web based client and admin section that the shoutcast server software makes on the computer it is installed to. This script needs the admin access to the shoutcast server to get the info to populate the forums w/ live info. It logs in collects the data and returns the info to the client.
The client does not need a password to connect.
I have a shoutcast server setup on a cable modem when I goof around and want to show some friends a few tunes I ran across. @60K upload I can do 16 people @ 24k music quility. (mono .. like AM radio)
Yes it is a hog. The bandwith useage depends on "# of users connected" and the quility of the song in kbps.
uploadspeed / bitrate = max listeners , always leave some for overhead
example in your case 256k uploadspeed / 56k bitrate = max 4 listeners ( 4* 56 = 224kbps ) keep in mind that your provider says he gives you 256kbps upload, the actual speed might be much lower.
Bitrates
192k CD quility
56k stereo
24k mono (like an AM radio, but works for music)
8k voice
BROADCASTING
Persons wanting to broadcast will need to run their own server, as per the instructions below, or find someone willing to run one for them. Once a server's located, broadcasters use Winamp and a plug-in called the SHOUTcast Source for Winamp Plug-In to send audio from Winamp to the SHOUTcast server. The tools are available here, and there's an entire section of the documentation dedicated to the plug-in.
RUNNING A SERVER
The magic of the SHOUTcast system happens inside the SHOUTcast Distributed Network Audio Server (DNAS). This software runs on a server attached to an IP network with lots of bandwidth, and is responsible for receiving audio from a broadcaster, updating the SHOUTcast directory with information about what the broadcaster is sending, and sending the broadcast out to listeners. More information is in the server section of the documentation.
More info (http://www.shoutcast.com/support/docs/)
So are you saying htis is going to be pretty high bandwidth on our forums server(not shoutcast server). I assumed it would not as the RSS News feed hack is installed on one of my forums and it is not very server intensive running like 8 feeds updating every minuete or so.
andrefedalto
01-31-2006, 10:25 PM
thanks dude, it works like a charm for me :)
**/me clicks install**
Zachariah
01-31-2006, 11:37 PM
thanks dude, it works like a charm for me :)
**/me clicks install**
Cool :D - what tunes are you online with ?
itorrents
02-10-2006, 04:16 AM
Works like a charm, thank you :) looks pretty slick too :D
imranbaig
02-10-2006, 02:02 PM
Im gonna use this, but after i change my host, the present one sucks.
lexuz
02-16-2006, 03:05 AM
i got the shout cast sever runing up and everything and edited my plugin but still not connecting on the forum.
it keep saying "Currently our shoutcast server is down."
i tried everything but not working
any help?
thankz
MissKalunji
02-16-2006, 03:09 AM
your host probably block that port
itorrents
02-16-2006, 03:58 AM
If the port was blocked the radio wouldn't work, has nothing to do with the hack :) in your serv_conf file you need to set 2 passwords, make sure your adding the admin pass to the plug-in, if your using the domain name in the plug-in config try using the IP addy instead.
MissKalunji
02-16-2006, 04:07 AM
If the port was blocked the radio wouldn't work, has nothing to do with the hack :) in your serv_conf file you need to set 2 passwords, make sure your adding the admin pass to the plug-in, if your using the domain name in the plug-in config try using the IP addy instead.
how wouldnt the radio be playing?
where is the radio streaming? from the pc or a shoutcast server
look in the thread you'll see for yourself
if your webhost BLOCKS the port you wont be able TO FEED
see for yourself : https://vborg.vbsupport.ru/showpost.php?p=840926&postcount=53
i had the same issue
itorrents
02-16-2006, 02:51 PM
Well I can only assume his actual shoutcast station works and that he's only having problems getting the info displayed on his forumhome.
MissKalunji
02-16-2006, 03:46 PM
Well I can only assume his actual shoutcast station works and that he's only having problems getting the info displayed on his forumhome.
yeah thats the problem getting the info on his forum home requires certain port to be open
Alien
02-18-2006, 06:07 AM
This works for us beautifully! Thanks so much for your hard work on this, it's very much appreciated and fits right in with our WTF community! :D
Zachariah
02-18-2006, 01:30 PM
================================================== =====
Changelog |
================
1.8 2.17.06
- Added XML cache + timer
- Added AdminCP setting vs. edit the php file
1.7 12.25.05
- Killed auto create Module on Install
AdminCP vs. Plugin Edit. :D
https://vborg.vbsupport.ru/attachment.php?attachmentid=43006
MissKalunji
02-18-2006, 01:38 PM
can someone tell me the diff between the full version and lite?
Zachariah
02-18-2006, 01:45 PM
can someone tell me the diff between the full version and lite?
Full:
Needs Shoutcast server Admin PW to access data
Server Name
Last 19 songs
3 Popup players (quicktime, media player, real player)
DJ Name
DJ ICQ
DJ AIM
Bitrate
Current Song
Media Type
Most Ever Connected
Hit Count
Users Connected
Avj. Connect Time
User Max
IRC Server and Room
Online / Offline status
Lite
Does not need a PW for data
- Server Name
- 3 Popup players (quicktime, media player, real player)
- Bitrate
- Current Song
- Users Connected
- User Max
- Online / Offline status
MissKalunji
02-18-2006, 01:46 PM
nice thanks :)
Zachariah
02-18-2006, 01:52 PM
nice thanks :)
Not a problem.
- Soon a standalone :D
- Multi - feeds
- perhaps a stats system :nervous:
MissKalunji
02-18-2006, 01:58 PM
one last question i have a stream feed : http://sc4.spacialnet.com:14100
i dont have the ip...how can i put that up?
Zachariah
02-18-2006, 02:22 PM
one last question i have a stream feed : http://sc4.spacialnet.com:14100
i dont have the ip...how can i put that up?
IP: 64.71.150.29
Port: 14100
ping sc4.spacialnet.com
Pinging sc4.spacialnet.com [64.71.150.29] with 32 bytes of data:
Reply from 64.71.150.29: bytes=32 time=23ms TTL=53
Reply from 64.71.150.29: bytes=32 time=22ms TTL=53
Reply from 64.71.150.29: bytes=32 time=24ms TTL=53
Reply from 64.71.150.29: bytes=32 time=25ms TTL=53
Ping statistics for 64.71.150.29:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 22ms, Maximum = 25ms, Average = 23ms
MissKalunji
02-18-2006, 02:29 PM
doh shoulda thought about pinging
Thanks!
MissKalunji
02-18-2006, 06:51 PM
Its not working...i'm on a dedicated server and none of my port are close help?
kenanulas
02-18-2006, 07:33 PM
Variables used.
================================================== =====
If you choose not to show any/all:
Here is a list of variables that can be used in your "adv_portal_shoutcast". If do not wish to show data, just remove the variables.
$scdef = Default station name
$scip = IP shoutcast server
$scport = Port of shoutcast server
$scpass = Admin password (not DJ) to shoutcast server
$ircsite = IRC Server - EX: irc.server.com
$song[t] = Song History:t can range from 0-19. EX: $song[0], $song[1], $song[2] .... $song[19] ----- $song[0] (zerro) is the current song playing.
$servertitle = "Discription" - setting in DJ - DSP (I used for DJ Name).
$servergenre = - setting in DSP.
$bitrate = Quility of the Bitrate - setting in DJ - DSP .
$icq = ICQ# of DJ - setting in DJ - DSP.
$aim = AIM# of DJ - setting in DJ - DSP.
$irc = IRC room of DJ - setting in DJ - DSP.
$url = URL - setting in DJ - DSP
$currentlisteners = Current connected users.
$maxlisteners = Max users for the server.
$irclink = irc://$ircsite/$irc
$listenamp = http://$scip:$scport/listen.pls
$listenlnk = http://$scip:$scport
$averagemin = average listener time in minuets
where must ı put into all them help me please
Zachariah
02-18-2006, 08:06 PM
Its not working...i'm on a dedicated server and none of my port are close help?
Play something.
- I can not test if you do not have something going :D
where must ı put into all them help me please
http://www.gzhq.net/forums/
They are all in use.
Hit the link scroll down to the "Shoutcast: GZHQ (0/16 @ 128 kbs)" line and hit the Expand / Shrink image - / + on that Cell.
All of the extend info is in a hidden cell.
- I was thinking of adding next to the image a [more info] link that expanded the cell also.
- Many people do not even how it is there. :ermm:
EDIT - note added
- [more info]
click and shoot a popup window w/ extra server info vs. the dropdown inline cell.
jklimczak
02-18-2006, 08:12 PM
Warning: fopen(scast_home.xml): failed to open stream: Permission denied in /index.php(485) : eval()'d code on line 36
Warning: fwrite(): supplied argument is not a valid stream resource in /index.php(485) : eval()'d code on line 37
Warning: fclose(): supplied argument is not a valid stream resource in /index.php(485) : eval()'d code on line 38
after the upgade i get this
Zachariah
02-18-2006, 08:13 PM
Warning: fopen(scast_home.xml): failed to open stream: Permission denied in /index.php(485) : eval()'d code on line 36
Warning: fwrite(): supplied argument is not a valid stream resource in /index.php(485) : eval()'d code on line 37
Warning: fclose(): supplied argument is not a valid stream resource in /index.php(485) : eval()'d code on line 38
after the upgade i get this
upload the xml file to your forums folder.
- CHMOD 777
jklimczak
02-18-2006, 08:15 PM
Never mind I for got to 777
Zachariah
02-18-2006, 08:37 PM
Never mind I for got to 777
Cool ya got it worken :)
The radio image looks bad w/ your skin. :ermm:
Try attached :squareeyed:
kenanulas
02-18-2006, 11:36 PM
http://img115.imageshack.us/img115/8692/r4is.jpg
http://img115.imageshack.us/img115/9214/r25eu.jpg
what am ı doin wrong :o ı can not doing broadcast my radio
MissKalunji
02-19-2006, 12:03 AM
Play something.
- I can not test if you do not have something going :D
http://www.gzhq.net/forums/
They are all in use.
Hit the link scroll down to the "Shoutcast: GZHQ (0/16 @ 128 kbs)" line and hit the Expand / Shrink image - / + on that Cell.
All of the extend info is in a hidden cell.
- I was thinking of adding next to the image a [more info] link that expanded the cell also.
- Many people do not even how it is there. :ermm:
EDIT - note added
- [more info]
click and shoot a popup window w/ extra server info vs. the dropdown inline cell.
pm me when you're online
but even when i play it still shows offline
Gallio
02-19-2006, 04:09 AM
Do you plan on making a lite version for 3.5.3?
Zachariah
02-19-2006, 07:41 PM
Do you plan on making a lite version for 3.5.3?
I still need to update to 1.8 its still 1.6
https://vborg.vbsupport.ru/showthread.php?t=97500
vice86
02-20-2006, 09:20 PM
I'm a newb to VB editing...i figured out where to go to add the radio name, IP, port and password...but its not connecting for some reason...i must be missing something, but i dont know what I'm missing.
This is what I filled in
http://clublandusa2.com/images/stats.jpg
Zachariah
02-21-2006, 01:20 AM
I'm a newb to VB editing...i figured out where to go to add the radio name, IP, port and password...
ouch no no more edits there :D
AdminCP
https://vborg.vbsupport.ru/attachment.php?attachmentid=43006
Settings:
Admincp => vBulletin Options => Shoutcast Full - CMPS
[ EDIT ]
vice86
02-21-2006, 01:32 AM
well...now I'm screwed because I messed with that ImPex whatever php to vb thing...and instead of waiting to let my buddy who knows what he'd doing...i went to update the useers and messed it up...now I can't even login :(
BUt thanks for the info! I'll look into that once I can get back into my darn CP.
StevenIsProek
02-21-2006, 03:36 AM
How do I add more options?Like last 19 songs etc?
Zachariah
02-21-2006, 09:59 AM
How do I add more options?Like last 19 songs etc?
- It's all in there (expand / collapse) the dropdown.
I want to add the Shoutcast Status to the top of the forum (under navbar) like http://www.gzhq.net/ , but without CPMS. It must be seperated from the Forum Statistics. How can i do this.
Zachariah
02-24-2006, 02:28 PM
I want to add the Shoutcast Status to the top of the forum (under navbar) like http://www.gzhq.net/ , but without CPMS. It must be seperated from the Forum Statistics. How can i do this.
Edit templates: forumhome_shoutcast, forumhome_shoutcast_off
add: 1st thing
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
add: at the end
</table>
<br />
Edit Plugin: Shoutcast Status Full - Main
Hook Location : forumhome_complete
Find 3x :
$search_text = '<!-- end logged-in users -->';
Change to:
$search_text = '$navbar';
Edit templates: forumhome_shoutcast, forumhome_shoutcast_off
add: 1st thing
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
add: at the end
</table>
<br />
Edit Plugin: Shoutcast Status Full - Main
Hook Location : forumhome_complete
Find 3x :
$search_text = '<!-- end logged-in users -->';
Change to:
$search_text = '$navbar';
Thanks Zachariah. Works perfektt
J82980BA3E43
02-25-2006, 09:41 AM
Hello
is it possible that your can places a status Picture, example in the navbar or somewhere else with radio ofline, and if the radio is online then you see a Picture with radio online.
if so, how you do that.
sorrie for me bad English!!
Zachariah
02-25-2006, 01:28 PM
Hello
is it possible that your can places a status Picture, example in the navbar or somewhere else with radio ofline, and if the radio is online then you see a Picture with radio online.
if so, how you do that.
sorrie for me bad English!!
:rambo:
Edit template: FORUMHOME
Add:
<if condition="!$scfp"><img src="/images/off.gif" alt="Shoutcast Down" /><else /><img src="/images/on.gif" alt="Shoutcast Online" /></if>
The navbar is on every page and your cause a large load on the shoutcast server with to many on/off line requests. I would say leave on forumhome page, portal page, or standalone page.
J82980BA3E43
02-25-2006, 03:23 PM
:rambo:
Edit template: FORUMHOME
Add:
<if condition="!$scfp"><img src="/images/off.gif" alt="Shoutcast Down" /><else /><img src="/images/on.gif" alt="Shoutcast Online" /></if>
The navbar is on every page and your cause a large load on the shoutcast server with to many on/off line requests. I would say leave on forumhome page, portal page, or standalone page.
he thans your the man!! :up:
but what is the code if I want put him in my header or on my portal page with this code he not working only on forumhome.
Gallio
03-01-2006, 09:00 PM
No matter what information I put in to the settings I cannot broadcast my radio, I'm a missing something. Does this Hack not work for anything other then Shout Cast Free Servers or what?
Zachariah
03-04-2006, 02:23 PM
No matter what information I put in to the settings I cannot broadcast my radio, I'm a missing something. Does this Hack not work for anything other then Shout Cast Free Servers or what?
/* -----------------8/27/2005 6:23pm-----------------
This is a Nice hack to add Shoutcast Status on your VB3.5 Forum Home.
SHOUTcast is a free-of-charge audio homesteading solution. It permits anyone
on the internet to broadcast audio from their PC to listeners across the
Internet or any other IP-based network (Office LANs, college campuses, etc.).
This script pulls the XML data from a shoutcast server.
http://www.shoutcast.com/download/serve.phtml
apollooooooo
03-04-2006, 04:54 PM
this might sound like a Noob Question so sorry..
I listen to a Station all time via winamp can i put there station on my website if so HOW!!!
Zachariah
03-04-2006, 08:32 PM
this might sound like a Noob Question so sorry..
I listen to a Station all time via winamp can i put there station on my website if so HOW!!!
- The station your tuned into is a Shoutcast server ?
apollooooooo
03-06-2006, 09:16 AM
so let me get this right the station i am listin to is http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=4698&file=filename.pls
so were do i get the ip address ect
sorry i am i am a pian thanks in advance
itorrents
03-06-2006, 11:49 AM
so let me get this right the station i am listin to is http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=4698&file=filename.pls
so were do i get the ip address ect
sorry i am i am a pian thanks in advance
I'm pretty sure it has to be a shoutcast station that you admin, not someone else's on another server.
The Realist
03-06-2006, 05:20 PM
Why does my shoutcase only show one song at a time and not like the sample picture above in the 1st post?
https://vborg.vbsupport.ru/external/2006/03/1.php?attachmentid=33910
Anyone?
The Realist
03-06-2006, 05:24 PM
Ignore me :)
All of the extend info is in a hidden cell.
Why does my shoutcase only show one song at a time and not like the sample picture above in the 1st post?
https://vborg.vbsupport.ru/attachment.php?attachmentid=33910
Anyone?
Xplorer4x4
03-06-2006, 05:24 PM
click the http://www.tech-tronix.com/images/styles/soness/buttons/collapse_thead.gif button right above the now playing info. ;)
The Realist
03-06-2006, 05:26 PM
Yeh found that out :) and all the time I've been using this hack as well LOL.
Anyway, is there anything I can change to keep all the info showing to all and not hidden as standard.
Laters
Ruler68jg
03-07-2006, 11:53 AM
can I use it with vBulletin Version 3.5.4 scuessfully ?
Zachariah
03-07-2006, 12:03 PM
can I use it with vBulletin Version 3.5.4 scuessfully ?
No problems VB3.5 - current.
l0streflecti0n
03-08-2006, 01:11 PM
i was wondering if there was any way to add an auto refresh so that when a song changes it also refreshes the song title ect in the forum page that way the user dosent have to manually refresh the page... .. kinda like the php-nuke shoutcast block ... thanks
Zachariah
03-09-2006, 02:51 PM
i was wondering if there was any way to add an auto refresh so that when a song changes it also refreshes the song title ect in the forum page that way the user dosent have to manually refresh the page... .. kinda like the php-nuke shoutcast block ... thanks
On my to do list :)
I will look in on it.
l0streflecti0n
03-10-2006, 01:03 AM
hey thanx for that quick reply... will be looking forward to it
Orcun
03-15-2006, 09:14 PM
Hi everyone,
I Just installed and did what it says in install.txt but in the main page it does not display the song info.
It says that the server is off but It's not. I am not the admin, I have a password to use on Winamp to broadcast, I bought this hosting service.
It that password enough ?
If yes, what can be the problem ? I have entered IP correctly, Port correctly and Password correctly. What else should be wrong ?
Zachariah
03-15-2006, 09:55 PM
Hi everyone,
I Just installed and did what it says in install.txt but in the main page it does not display the song info.
It says that the server is off but It's not. I am not the admin, I have a password to use on Winamp to broadcast, I bought this hosting service.
It that password enough ?
If yes, what can be the problem ? I have entered IP correctly, Port correctly and Password correctly. What else should be wrong ?
The "full" ver. of this hack needs Admin password to access the data. (there is admin, DJ password)
Lite ver. you can just use IP and port, but less info can be gathered.
https://vborg.vbsupport.ru/showthread.php?t=97500
Orcun
03-15-2006, 10:35 PM
Thx for quick reply. I read the whole topic.
I was unable to find out the output of
$scfp = @fsockopen($scip, $scport, &$errno, &$errstr, 1); // Connect to the server
I asked my host, and he said that they closed fopen which Php uses to write XML.
I switched to Crontab. And entered the command. Here's the result I have.
/bin/sh: line 1: /usr/bin/lynx: Permission denied
I have -auth=admin:xxx password because I have access to Admin panel of my Shoutcast server.
Well, I think I did my best :)
Next step is I want to make Lynx enable. I cant persuade my host to enable fopen etc.
For triggerin Issues, I want this script only to read cast.xml from my hoe directory and Dont execute the fsocket, fopen commands. I should reduce the load a bit.
How can I do that ?
Make cron the grabbing info from Shoutcast.
Make This Script to only read xml file on my host.
Thanks in advance.
P.S: I have a Problem with the cron command I think.
*/5 * * * * lynx -auth=admin:dNASpasshere -source http://dNAS-IP-Or-Domain:port/admin.cgi?mode=viewxml 1> /webserver/path/public_html/filename.xml
Should be
5 * * * * lynx -auth=admin:dNASpasshere -source http://dNAS-IP-Or-Domain:port/admin.cgi?mode=viewxml > /webserver/path/public_html/filename.xml
I removed */ part from the beginning and 1> from the lynx source .
Is the first one true of false ?
If it is true can you please explain why */5 instead of only 5 and 1> instead of only >
I searched some documentation but I was unable to find anything.
Orcun
03-15-2006, 11:14 PM
I checked if fopen is closed, NO !
Well, I manually pulled the XML file from Shoutcast server. Uploaded it to specified dir and refreshed.
Still says the Radio is Offline. But there is a XML filled radio.xml file which has a static info in it.
I specified the path for file as /home/forumtur/public_html/radio.xml
Are there anything wrong you see ?
Zachariah
03-16-2006, 02:14 AM
I checked if fopen is closed, NO !
Well, I manually pulled the XML file from Shoutcast server. Uploaded it to specified dir and refreshed.
Still says the Radio is Offline. But there is a XML filled radio.xml file which has a static info in it.
I specified the path for file as /home/forumtur/public_html/radio.xml
Are there anything wrong you see ?
What about this ?
// Add:
$domain = "www.domainhere.com"; // The domain to retrieve the xml
$xmlfile = "filename.xml"; //xml filename from your saved stdout 1>
// Change
$scfp = fsockopen($domain, 80, &$errno, &$errstr, 1);
// Change
fputs($scfp,"GET /$xmlfile HTTP/1.0\r\nUser-Agent: SHOUTcast Song Status (Mozilla Compatible)\r\n\r\n");
Orcun
03-16-2006, 08:19 AM
Where will I add this info ?
The plugin at the forumhome hook also grab those values from $vbulletin_options -> etc.
Sorry but I didn't understand what u mean.
$scdef = $vbulletin->options['scname_full'];
$scip = $vbulletin->options['scip_full'];
$scport = $vbulletin->options['scport_full'];
$scpass = $vbulletin->options['scpass_full'];
$ircsite = $vbulletin->options['scirc_full'];
$file = $vbulletin->options['scxml_full'];
$cache_tolerance = $vbulletin->options['scupdate_full'];
Options are grabbed by plugin. What else ?
Orcun
03-16-2006, 09:14 AM
Well, I changed the plug-in code just to use the XML file written by Lynx.
Also, when I remove @fsockopen, It says It cannot connect to the IP specified on port 5555.
fsockopen should be blocked by a Firewall.
Here's the new code for the plugin.
$scdef = $vbulletin->options['scname_full'];
$scip = $vbulletin->options['scip_full'];
$scport = $vbulletin->options['scport_full'];
$scpass = $vbulletin->options['scpass_full'];
$ircsite = $vbulletin->options['scirc_full'];
$file = $vbulletin->options['scxml_full'];
$cache_tolerance = $vbulletin->options['scupdate_full'];
// Check if Cache needs an update
if (file_exists($file)) {
clearstatcache();
$time_difference = time() - filemtime($file);
} else {
$time_difference = $cache_tolerance; // force update
}
// Outputs the cached file after new data
$xmlcache = fopen($file,"r");
$page = '';
if($xmlcache){
while (!feof($xmlcache)) {
$page .= fread($xmlcache, 8192);
}
fclose($xmlcache);
}
else{
// outputs the cached file
$xmlcache = fopen($file,"r");
$page = '';
if($xmlcache){
while (!feof($xmlcache)) {
$page .= fread($xmlcache, 8192);
}
fclose($xmlcache);
}
}
//define xml elements
$loop = array("AVERAGETIME", "CURRENTLISTENERS", "PEAKLISTENERS", "MAXLISTENERS", "SERVERGENRE", "SERVERURL", "SERVERTITLE", "SONGTITLE", "SONGURL", "IRC", "ICQ" ,"AIM", "WEBHITS", "STREAMHITS", "LISTEN", "STREAMSTATUS", "BITRATE", "CONTENT");
$y=0;
while($loop[$y]!=''){
$pageed = ereg_replace(".*<$loop[$y]>", "", $page);
$scphp = strtolower($loop[$y]);
$$scphp = ereg_replace("</$loop[$y]>.*", "", $pageed);
if($loop[$y]==SERVERGENRE || $loop[$y]==SERVERTITLE || $loop[$y]==SONGTITLE || $loop[$y]==SERVERTITLE)
$$scphp = urldecode($$scphp);
;
$y++;
}
//end intro xml elements
//get song info and history
$pageed = ereg_replace(".*<SONGHISTORY>", "", $page);
$pageed = ereg_replace("<SONGHISTORY>.*", "", $pageed);
$songatime = explode("<SONG>", $pageed);
$r=1;
while($songatime[$r]!=""){
$t=$r-1;
$playedat[$t] = ereg_replace(".*<PLAYEDAT>", "", $songatime[$r]);
$playedat[$t] = ereg_replace("</PLAYEDAT>.*", "", $playedat[$t]);
$song[$t] = ereg_replace(".*<TITLE>", "", $songatime[$r]);
$song[$t] = ereg_replace("</TITLE>.*", "", $song[$t]);
$song[$t] = urldecode($song[$t]);
$dj[$t] = ereg_replace(".*<SERVERTITLE>", "", $page);
$dj[$t] = ereg_replace("</SERVERTITLE>.*", "", $pageed);
$r++;
}
$averagemin = round($averagetime/60,2);
$irclink = 'irc://'.$ircsite.'/'.$irc.'';
$listenamp = 'http://'.$scip.':'.$scport.'/listen.pls';
$listenlnk = 'http://'.$scip.':'.$scport.'';
// Player template requests
if ($_REQUEST['do'] == 'mp'){ // MP popup link
eval('print_output("' . fetch_template('forumhome_shoutcast_mp') . '");');
}
if ($_REQUEST['do'] == 'rp'){ // RP popup link
eval('print_output("' . fetch_template('forumhome_shoutcast_rp') . '");');
}
if ($_REQUEST['do'] == 'qt'){ // QT popup link
eval('print_output("' . fetch_template('forumhome_shoutcast_qt') . '");');
}
//display stats
if($time_difference <= $cache_tolerance){
if($streamstatus == "1"){
$search_text = '<!-- end logged-in users -->';
$vbulletin->templatecache['FORUMHOME'] = str_replace($search_text,
$search_text.fetch_template('forumhome_shoutcast') ,$vbulletin->templatecache['FORUMHOME']);
} else {
$search_text = '<!-- end logged-in users -->';
$vbulletin->templatecache['FORUMHOME'] = str_replace($search_text,
$search_text.fetch_template('forumhome_shoutcast_o ff'),$vbulletin->templatecache['FORUMHOME']);
}
}
Zachariah
03-16-2006, 11:13 AM
Where will I add this info ?
The plugin at the forumhome hook also grab those values from $vbulletin_options -> etc.
Sorry but I didn't understand what u mean.
$scdef = $vbulletin->options['scname_full'];
$scip = $vbulletin->options['scip_full'];
$scport = $vbulletin->options['scport_full'];
$scpass = $vbulletin->options['scpass_full'];
$ircsite = $vbulletin->options['scirc_full'];
$file = $vbulletin->options['scxml_full'];
$cache_tolerance = $vbulletin->options['scupdate_full'];
Options are grabbed by plugin. What else ?
Admincp => vBulletin Options => Shoutcast Full - Forumhome
https://vborg.vbsupport.ru/attachment.php?attachmentid=43006&d=1140276425
nestoras
03-17-2006, 03:01 PM
i have just installthis hack!
i put everything right!
my server is up
but in forum says that is down!what can be wrong?
I'm unable to get this to display on my forum home template?
Uploaded the images, installed the product-shoutcast_home_full.xml and uploaded the other xml to my server, which I'm not sure if I'm supposed to install or not, but when I do try it states "
XML Error: not well-formed (invalid token) at Line 1"
But nothing is displaying on my Forumhome, no drop down box or anything at all regarding this hack?
Everything is installed correctly though.... thanks
mpadc
03-24-2006, 03:52 PM
this is in forumhome_shoutcast templates
but i dont see the variables being displayed i.;e most listenrs and all it dont show up
what im doing wrong?
<script type="text/javascript">
function scastmp(){
scastmpWindow = window.open("index.php?do=mp","mp","width=360,height=75");
}
function scastrp(){
scastrpWindow = window.open("index.php?do=rp","rp","width=420,height=160");
}
function scastqt(){
scastqtWindow = window.open("index.php?do=qt","qt","width=330,height=50");
}
</script>
<tbody>
<tr >
<td class="thead" width="100%" colspan="6"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_shoutcast')">
<img id="collapseimg_forumhome_shoutcast" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_shoutcast].gif" alt="" border="0" /></a>
<div ><b>$scdef: $servertitle ($currentlisteners/$maxlisteners @ $bitrate kbs)</b></div>
</td>
</tr>
</tbody>
<td rowspan="3" class="alt2" align="center"><img src="$stylevar[imgdir_misc]/radio.gif" alt="$scdef: $servertitle ($currentlisteners/$maxlisteners @ $bitrate kbs)" /></td>
<td valign="top" align="left" class="alt1">
<table border="0" cellpadding="1" cellspacing="0" width="100%">
<tr >
<td class="alt2" ><b>Tune-In:</b></td>
<td width="5" > </td>
<td width="50%" class="alt2" ><b>Now Playing:</b></td>
</tr>
<tr >
<td width="50%" style="padding-left: 5px><a href=" colspan="2" class="smallfont">
<img src="$stylevar[imgdir_misc]/im_winamp.gif" alt="Listen w/ Winamp" border="0" hspace="2" /><a href="$listenamp">Winamp</a>
<img src="$stylevar[imgdir_misc]/im_real.gif" alt="Listen w/ Realplayer" border="0" hspace="2" /><a href="javascript:scastrp()">Real</a>
<img src="$stylevar[imgdir_misc]/im_winmp.gif" alt="Listen w/ Media Player" border="0" hspace="2" /><a href="javascript:scastmp()">Media</a>
<a href="javascript:scastqt()"><img src="$stylevar[imgdir_misc]/im_qt.gif" alt="Listen w/ Quicktime" border="0" hspace="2" /></a>
<a href="javascript:scastqt()">Quicktime</a>
</td>
<td width="50%" style="padding-left: 5px" class="smallfont"><tt><marquee width="98%" scrolldelay="100" scrollamount="5">+ $song[0]</marquee></tt></td>
</tr>
<tbody id="collapseobj_forumhome_shoutcast" style="display: none;">
<tr>
<td width="100%" colspan="3"> </td>
</tr>
<tr >
<td class="alt2" ><b>Stream Info:</b></td>
<td width="5"></td>
<td width="50%" class="alt2" align="left"><b>Last 19 Songs:</b>
</td>
</tr>
<tr >
<td valign="top" rowspan="4" style="padding-left: 5px" colspan="2" class="smallfont">
<div >Most Ever: <b>$peaklisteners</b><br />Current Listening: <b>$currentlisteners/$maxlisteners</b><br />Speed: <b>$bitrate</b> kbs<br />Media Type: <b>$content</b><br />Hit Count: <b>$streamhits</b><br />Avj. Time: <b>$averagemin</b></div>
<br /><hr width="90%" size="1">
<img src="$stylevar[imgdir_misc]/im_genre.gif" alt="Genre" /> $servergenre<br /><img src="$stylevar[imgdir_misc]/im_icq.gif" alt="ICQ the DJ" /> $icq<br /><img src="$stylevar[imgdir_misc]/im_aim.gif" alt="AIM the DJ" /> $aim<br /><img src="$stylevar[imgdir_misc]/im_mirc.gif" alt="IRC Chat with the DJ" /> <a href="$irclink">$ircsite</a> : #$irc<br />
</td>
</tr>
<tr >
<td valign="top" rowspan="5" style="padding-left: 5px" class="smallfont"><div ><tt>+ $song[1]<br />+ $song[2]<br />+ $song[3]<br />+ $song[4]<br />+ $song[5]<br />+ $song[6]<br />+ $song[7]<br />+ $song[8]<br />+ $song[9]<br />+ $song[10]<br />+ $song[11]<br />+ $song[12]<br />+ $song[13]<br />+ $song[14]<br />+ $song[15]<br />+ $song[16]<br />+ $song[17]<br />+ $song[18]<br />+ $song[19]</tt></div>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
Zachariah
03-24-2006, 06:43 PM
Did you hit the "collapse / expand" image on the table ?
- $streamhits is what your looking for
Zach.... did you manage to figure out what the issue was or should I just go delete that admin account, beacuse it's installed correctly but definately not showing up
unitedpunjab
03-30-2006, 09:44 AM
it doesn't work for me.... :( i tried diffrent shoutcast address but every time it just shows the shoutcast server is offline....
The Realist
03-30-2006, 10:03 AM
Is your server running a firewall?
Do you have the port open Shoutcast uses?
Can you connect to shoutcast ok?
Do you have the correct details within the shoutcast settings in admincp?
Laters
it doesn't work for me.... :( i tried diffrent shoutcast address but every time it just shows the shoutcast server is offline....
unitedpunjab
03-30-2006, 10:25 AM
Is your server running a firewall?
Do you have the port open Shoutcast uses?
Can you connect to shoutcast ok?
Do you have the correct details within the shoutcast settings in admincp?
Laters
I was tryin a a free online streaming radio. it work fine in my winamp, media player. even it work fine when i use the link in the forum using Any media BB code. i mean it is playing fine everywhere else....don't knw watz wrng wid it. please help me out.
Zachariah
04-08-2006, 02:57 AM
I have not updated the main package yet. :tired: :cross-eyed:
Bug fix
Hook Location : forumhome_complete
Shoutcast Status Full - Main
Find:
$averagemin = round($averagetime/60,2);
Replace:
$averagemin = "";
$hours = intval(intval($averagetime) / 3600);
$averagemin .= ($padHours) ? str_pad($hours, 2, "0", STR_PAD_LEFT) : $hours. 'h ';
$minutes = intval(($averagetime / 60) % 60);
$averagemin .= str_pad($minutes, 2, "0", STR_PAD_LEFT). 'm ';
$seconds = intval($averagetime % 60). 's';
$averagemin .= str_pad($seconds, 2, "0", STR_PAD_LEFT);
Output:
- Changes
Avj. Time: 533.03
- To
Avj. Time: 8h 53m 2s
TheProphet
04-14-2006, 02:36 PM
Any progress on the multi streams yet...
Pete C
04-18-2006, 01:05 PM
I've been using the previous version on my 3.0.9 board for several months and no problems. I'm now setting up another domain (2nd licence purchased) using vB 3.5.4. I've installed this version (Shoutcast Status Full - vB3.5), entered IP, Port and ADMIN password and it says Shoutcast Down - even though the stream is up and running. I can hear it, my other forum displays it. Trying to figure if I've missed something, or whether it could be firewall settings on my hosts server. Any clues would be appreciated guys - this has been a great hack so far - just can't make it work on 3.5.4 :(
*NB The ACP shows the Shoutcast controls, there were no errors during the install - I'm pretty sure it's installed correctly - it simply can't "see" the stream.
Zachariah
04-18-2006, 02:03 PM
@Belder
Did you give it a little time ?
- XML Data Cache by default has a 3 min delay before data will update.
Pete C
04-18-2006, 02:48 PM
Thanks for the reply Zachariah. I did give it quite a while - the stream was up for over 2 hrs. I double checked the settings, and refreshed the board frequently - it's just not detecting the stream.
Zachariah
04-18-2006, 04:28 PM
Any progress on the multi streams yet...
I have not progressed yet as far as a date, but I do have a multi server ver working.
Current Ver. supports 4 stations.
To do:
- I want to work out a cron job to get data updates still.
- I also want to workout multi bitrates.
- Shoutcast video support
Pete C
04-18-2006, 10:08 PM
Ok mine is sorted. The server is firewalled . . so my host opened the relevant ports and everything is working as it should. Well, I knew it couldn't be my fault :D
Great hack by the way - I'll go click the Install button now :banana:
TheProphet
04-21-2006, 07:29 PM
I have not progressed yet as far as a date, but I do have a multi server ver working.
Current Ver. supports 4 stations.
To do:
- I want to work out a cron job to get data updates still.
- I also want to workout multi bitrates.
- Shoutcast video support
Sounds awesome, if u need a tester :banana:
PsiNyde
04-21-2006, 08:21 PM
sick hack! thanks.
*installs*
zane99
04-23-2006, 06:12 PM
Noob here!
luv the hack
But i want to have it at the top instead of the bottom, how do i do this?
Zachariah
04-23-2006, 07:26 PM
Noob here!
luv the hack
But i want to have it at the top instead of the bottom, how do i do this?
:)
https://vborg.vbsupport.ru/showpost.php?p=909111&postcount=194
zane99
04-24-2006, 08:26 AM
:)
https://vborg.vbsupport.ru/showpost.php?p=909111&postcount=194
cheers m8, dont know how i missed that.
works great thanx
shockx5
04-28-2006, 10:16 PM
My site has 3 people that have shoutcasts...does this thing offer the ability for multiple radio accounts?
Zachariah
04-28-2006, 10:41 PM
My site has 3 people that have shoutcasts...does this thing offer the ability for multiple radio accounts?
This is limited to 1 server.
- I am worken on a ver to support multi servers. (still crazy busy)
I do have a standalone php (http://www.gzhq.net/demo/scastfull/) ver. (1 station)
You could rig 3 installs and create a display page.
shockx5
04-28-2006, 11:13 PM
Alright thats cool man. for now i can just switch out the info its not too much of a problem. i look forward to the multi server release.
jklimczak
04-29-2006, 02:09 PM
I had this working fine But i moved to a web host I can conect to my shout cast server just fine but my VB shows shoutcast server down any help
Zachariah
04-29-2006, 04:12 PM
I had this working fine But i moved to a web host I can conect to my shout cast server just fine but my VB shows shoutcast server down any help
Some web hosts block the option to query other servers on any port other than 80.
Some web hosts also limit the use of fsockopen.
Shoot a e-mail to your web host and see if there is some restrictions, and what can be done (if anything).
jklimczak
05-01-2006, 01:35 PM
Some web hosts block the option to query other servers on any port other than 80.
Some web hosts also limit the use of fsockopen.
Shoot a e-mail to your web host and see if there is some restrictions, and what can be done (if anything).
they have told me they are not blocking anything
RMS-Chef
05-07-2006, 06:31 AM
This might be worth mentioning for others who run into the same problem.
I have vBAdvanced as my index.php and FORUMHOME is forum.php. The player popups were failing and simply loading my index.php home page into the small popup generated. Took me a while to figure it out but the forumhome_shoutcast template at the top has index.php hardcoded into the javascript popup code here:
function scastmp(){
scastmpWindow = window.open("index.php?do=mp","mp","width=360,height=75");
}
function scastrp(){
scastrpWindow = window.open("index.php?do=rp","rp","width=420,height=160");
}
function scastqt(){
scastqtWindow = window.open("index.php?do=qt","qt","width=330,height=50");
}
I had to edit the index.php in each instance to forum.php in order to get the popup media players to function properly.
EDIT:
Perhaps replace the "index.php" with "$vboptions[forumhome].php" in the three locations in that portion of the template on your next update release? That is what I just did and it seems to work fine. Thanks a bunch for a great hack sir!
Zachariah
05-07-2006, 01:20 PM
This might be worth mentioning for others who run into the same problem.
I have vBAdvanced as my index.php and FORUMHOME is forum.php. The player popups were failing and simply loading my index.php home page into the small popup generated. Took me a while to figure it out but the forumhome_shoutcast template at the top has index.php hardcoded into the javascript popup code here:
function scastmp(){
scastmpWindow = window.open("index.php?do=mp","mp","width=360,height=75");
}
function scastrp(){
scastrpWindow = window.open("index.php?do=rp","rp","width=420,height=160");
}
function scastqt(){
scastqtWindow = window.open("index.php?do=qt","qt","width=330,height=50");
}
I had to edit the index.php in each instance to forum.php in order to get the popup media players to function properly.
EDIT:
Perhaps replace the "index.php" with "$vboptions[forumhome].php" in the three locations in that portion of the template on your next update release? That is what I just did and it seems to work fine. Thanks a bunch for a great hack sir!
Good idea ;)
DJ XtAzY
05-07-2006, 07:11 PM
hey im wondering if this is a good idea.
i have many peeps who would like to shoutcast, however i can only restrict this to just one shoutcast server (which is my machine). I was wondering if this is possible. Have some sort of queueing system. If a person wants to shoutcast, they will need to sign up for an available slot (say 5 slots). The next person who wants to shoutcast, they will need to sign up and will be put in the next available slot. When they signup for a slot, they need to put in the ip server. The first slot will play the shoutcast user for like 1hour (or the amount u want to limit) and it will move on to the next shoutcaster. If the shoutcast server doesnt work, it will move onto the next person
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.