Old 17th October 2007, 07:14   #1
Novation
Senior Member
 
Join Date: Oct 2007
Posts: 102
how to show offline message when no music playing

hi all,

just wondering how to show an offline message on my website when there is no music playing,

at the momment im using a nowplaying script and the file works without any problems but when i stop the shoutcast broadcast the last tracks title won't disappear.

id appreciate any help.

thanks
novation.
Novation is offline   Reply With Quote
Old 17th October 2007, 20:26   #2
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
there are php scripts out there that can do this:

http://www.streamsolutions.co.uk/index.php?page=scripts
fc*uk is offline   Reply With Quote
Old 18th October 2007, 23:12   #3
geetee
Junior Member
 
Join Date: Oct 2007
Posts: 8
I have hacked about the infamous SCMXL to do just that. The one problem I found with scxml was that if it could not contact the dnas or the stream was down it would show one of two "could not contact server" messages and just stop.

I reworked it to chuck out an OFF Air message then keep polling.

PM me if you want the php source for the modification, after all, I didn't write it, I just tweaked it a bit lol, only fair to share I reckon.

Ta
geetee
geetee is offline   Reply With Quote
Old 19th October 2007, 21:22   #4
Nick@ss
Moderator
 
Nick@ss's Avatar
 
Join Date: Nov 2004
Location: Streamsolutions Headquarters
Posts: 11,953
this one you can add your own images

http://www.streamsolutions.co.uk/index.php?page=s5#sis
Nick@ss is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump