View Full Version : Shoutcast status Hack
eckels2
09-12-2002, 06:42 PM
Just wondering if anyone has made a vb hack that displays a shoutcast stream's data on the main page?
If anyone has, let me know. If not... I guess i'll have to delve into this one myself.
explain what this shoutcast is?
eckels2
09-12-2002, 07:40 PM
Sorry, Shoutcast (http://www.shoutcast.com) is a winamp addon, that lets you broadcast your own internet radio streams.
There are many commercial Stations as well as many homegrown stations... Some of the best music can be found on shoutcast streams.
I have my own that i put up from time to time, and I'd like to have it's status be displayed on the forumhome. Also, If any of my users set up streams, I'd like for them to be able to display them as well...
I dont know if they offer connections to their system. You could ask if they offer that.
eckels2
09-12-2002, 08:32 PM
no, you're not following.
The actual server is stored on the radio broadcaster's pc... so the script would have to read the log file on my computer or something like that...
I just want to know if anything like this exists already, but judging by what you're saying, i'm guessing it probably doesn't.
Nope :)
We all code in PHP so I dont think there would be something like that... you could look for a Juke box but as a live radio... oO;;
eckels2
09-12-2002, 08:38 PM
wait wait... I'm not looking for a whole new program, just a script that displays the server status. Not possible?
Merjawy
09-12-2002, 11:06 PM
its posible
since theres a HTML status page generated by the program, so it has to be easy to convert it to PHP
I will look into that
eckels2
09-12-2002, 11:23 PM
I'd appreciate it greatly. :)
oo:;;; Baka Neo is now lost...
ethank
09-13-2002, 02:10 AM
IT also spits out XML.
Reeve of shinra
09-14-2002, 09:49 PM
Try asking one of the other stations. It seems digitally imported does this, plus it makes threads / polls at the vb forum.
http://www.digitallyimported.com/eurodance/
Merjawy
09-16-2002, 02:51 AM
it generates a HTML data sheet , if you point your browser to your broadcasting.url: port you will see it
h**p://www.yoursite.com: port# which is set in ShoutCast
I have been using ShoutCast for over 6 months now 24/7
Velocd
09-16-2002, 04:10 PM
Yeah Shoutcast is an excellent radio station source, defiantly the best on the web. :)
This hack would be awesome to make if possible..
I too may look into it..
eckels2
10-05-2002, 08:08 PM
Just wondering if anyone ever got anywhere with this. I could really use this one. If this helps, this is how the xml data is called:
XML Statistics:
The SHOUTcast DNAS provides an internal mechanism for providing statistics
to external applications via XML, which is useful for providing live
information on your DNAS embedded in other webpages via PHP, Perl, or
other methods which can implement XML. Accessing this data is a bit tricky,
so it's briefly explained here:
XML pages should be called via:
http://yourip:port/admin.cgi?pass=yourpass&mode=viewxml&page=0
http://yourip:port/admin.cgi?pass=yourpass&mode=viewxml&page=1
...
Where:
Page 0 is all DNAS data
Page 1 is only Main data
Page 2 is only Webdata Table
Page 3 is only Listener Table
Page 4 is only Songhistory Table
Your XML parser MUST send a User-Agent: HTTP header containing the
word "Mozilla" in order for the DNAS to recognize it as something
other than a listener.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.