vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Shoutcast status Hack (https://vborg.vbsupport.ru/showthread.php?t=43470)

eckels2 09-12-2002 06:42 PM

Shoutcast status Hack
 
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.

Neo 09-12-2002 07:23 PM

explain what this shoutcast is?

eckels2 09-12-2002 07:40 PM

Sorry, Shoutcast 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...

Neo 09-12-2002 08:23 PM

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.

Neo 09-12-2002 08:35 PM

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. :)

Neo 09-12-2002 11:49 PM

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=yo...viewxml&page=0
http://yourip:port/admin.cgi?pass=yo...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.


All times are GMT. The time now is 10:02 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01171 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete