Display Radio Is Offline instead of Current Song:?

Ask questions, request features, or just complement us about our software and services.
Post Reply
sakpasayman
Posts: 12
Joined: Fri Sep 06, 2002 5:50 pm
Location: Whitinsville,MA .USA
Contact:

Display Radio Is Offline instead of Current Song:?

Post by sakpasayman »

Hi all, How can I have the script to show my radio is off line on my web page? It shows the music details while im playing, that is great and what I want. but when I go off line it shows "Current Songs:" Is there away I can have it show offline istead? Any help will be appreciate thank you in advance and thank you Radio toolbox for giving us this great script for free.
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 »

look in the includes.php file that was generated by the catcher, the online switch is there you just have to script for it.
- Jay
sakpasayman
Posts: 12
Joined: Fri Sep 06, 2002 5:50 pm
Location: Whitinsville,MA .USA
Contact:

off line

Post by sakpasayman »

Thanx jay. here is how the includes.php looks like. where should I edit it?
<?php
...<snip>...
$server[0]['status']='Online';
...<snip>...
?>
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 »

you update the now playing script itself to include the $server[1]['status'] variable.
- Jay
sakpasayman
Posts: 12
Joined: Fri Sep 06, 2002 5:50 pm
Location: Whitinsville,MA .USA
Contact:

off line now showing

Post by sakpasayman »

Thanx jay.
It took some times to figure it out but I fixed it .And now showing all of my three different broadcasts on line and off line. Can you please delette the include.php file i posted here?

***** I give you 5* out of 5* for tech support. Thanx for giving this wonderful software free to us.

God Bless.
Post Reply