Help with Shoutcast link sites
Help with Shoutcast link sites
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!
Does anyone have any idea how to do it? I'll settle for active or nonactive only. I just have to know!
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:
That means that if I do:
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
Code: Select all
$current_song='AC/DC - Spellbound';
Code: Select all
I'm listening to <?PHP echo $current_song; ?>
So, if you figure that out or already know that, then that's what you should do
- Jay
- Will work for food (Administrator)
- Posts: 3020
- Joined: Mon Jan 14, 2002 12:48 am
- Location: Next Door
- Contact:
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.
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
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;
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:
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.
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;
- Highspeed Connection (I have ADSL 512k or whatever)
- Static IP Address
- It's best to not be connected through LAN or a Router
- Actually I'm not sure if 2 and 3 are correct, It's just the most common requrements.
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
?>
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.
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/
http://yourIPaddress:yourPORT
EX:
http://68.112.77.48:8000/