Help with Shoutcast link sites

Talk about whatever.
Post Reply
PAULisSOS
Posts: 6
Joined: Fri Feb 07, 2003 10:24 pm

Help with Shoutcast link sites

Post by PAULisSOS »

I've noticed some people have a little box on their sites that tell if they are 1. Active 2. What song they are playing and 3. How much time is left in that song.

Does anyone have any idea how to do it? I'll settle for active or nonactive only. I just have to know!
PAULisSOS
Posts: 6
Joined: Fri Feb 07, 2003 10:24 pm

Post by PAULisSOS »

Doesn't ANyone know?? It'll be much appreciated.
Kane
Posts: 13
Joined: Sat Jan 18, 2003 6:37 pm
Location: Keflavík - Iceland
Contact:

Post by Kane »

Well, I donðt know about this active thingy, but I know that the file "includes.php" displays the available code entries, here is a part of my Include:

Code: Select all

$current_song='AC/DC - Spellbound';
That means that if I do:

Code: Select all

I'm listening to <?PHP echo $current_song; ?>
Will return: I'm listening to AC/DC - Spellbound

So, if you figure that out or already know that, then that's what you should do ;)
PAULisSOS
Posts: 6
Joined: Fri Feb 07, 2003 10:24 pm

Post by PAULisSOS »

Thank you for replying! This may seem stupid but what is a php file? Do I need to create one? And is it based on html?
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

information about php can be found at www.php.net

or you can use Radio Toolbox's FTP abilities to send an HTML page up to your site with the stats you want to display.
- Jay
PAULisSOS
Posts: 6
Joined: Fri Feb 07, 2003 10:24 pm

Post by PAULisSOS »

So would you need radio toolbox on everytime you broadcast?
PAULisSOS
Posts: 6
Joined: Fri Feb 07, 2003 10:24 pm

Post by PAULisSOS »

Also is there any tutorial on how to use Radio Toolbox? I'm sorry for all the questions. Thanks for replying.
Kane
Posts: 13
Joined: Sat Jan 18, 2003 6:37 pm
Location: Keflavík - Iceland
Contact:

Post by Kane »

See, what Radio ToolBox does is connect to a server where the status page is supposed to be. It gets information about your Radio Server and sends it to this page (I'm not sure how this FTP thingy works, still a noob in that :/).

Now, lets say that your Host name is: myradiorocks.com and your IP is 123.45.67.890. Your Shoutcast server can be accessed through a link that gous like this: http://myradiorocks.com:8000/listen.pls or http://13.45.67.890:8000/listen.pls, got that ? Good.

The easyest way to ceep up a server like this is to download SHOUTcast GUI (http://www.shoutcast.com/download/serve.phtml) and a DSP Plugin for Winamp 2.x (http://www.shoutcast.com/download/broad ... ugdownload) Then you set the settings and everything and start the server.

You have to have some knowlidge in a computer of course to be able to set all this up. You also have to have the right tools for a Radio server;
  1. Highspeed Connection (I have ADSL 512k or whatever)
  2. Static IP Address
  3. It's best to not be connected through LAN or a Router
  4. Actually I'm not sure if 2 and 3 are correct, It's just the most common requrements.
This means that; Yes, you always have to have Radio ToolBox open, that's why the put to tray option is there I guess. You also have to have WinAmp (doh!) open all the time and playing and the Shoutcast GUI too.

About this tutorial, I'm not sure if there is one, because I just got myself RTB, Shoutcast and the DSP plugin and started everything without any trouble and without a tutorial, so I haven't searched for one yet.

And for ypur question about what PHP is;
PHP is like another language of HTML, only with more features and possabilities. It's a document tat you can work with in any text Program like Notepad and you can also use DreamWeaver to edit it. The file has to have the .php extension so that the PHP codes work. every code is marked like this:

Code: Select all

<?PHP
///code
?>
You can use HTML scripts, in a PHP Document, just not inside a code marked with <?PHP ?> ;)

Emjoy your reading and exuse my English, I'm very tired now and am about to go to sleep. Tests beginning tomorrow in school and everything. :(
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

PAULisSOS wrote:Also is there any tutorial on how to use Radio Toolbox? I'm sorry for all the questions. Thanks for replying.
look to the left there is a link to documentation in the menu, choose Radio Toolbox from the documentation page.
- Jay
PAULisSOS
Posts: 6
Joined: Fri Feb 07, 2003 10:24 pm

Post by PAULisSOS »

Hey thanks for your reply guys but this is just all going over my head. I'll just not put up a page to show what track is on.
User avatar
DjDrakk
Posts: 19
Joined: Thu Apr 17, 2003 8:02 pm
Location: Canada
Contact:

Post by DjDrakk »

Hehe, maybe when I get this all figured out myself I'll write a "Using PHP with RTB for Dummies" article that Jay can post on his site here :wink:
User avatar
Spitfire
Posts: 10
Joined: Sun May 18, 2003 3:51 pm
Location: Tennessee
Contact:

Post by Spitfire »

Keep in mind that if you do use SHOUTcast's GUI, then shoutcast will create a page for you. You can find it here..


http://yourIPaddress:yourPORT

EX:

http://68.112.77.48:8000/
(¯`·._.·¤ GT McCulloch ¤·._.·´¯)
Image
Post Reply