|
|
#1 |
|
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. |
|
|
|
|
|
#2 |
|
Moderator
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 |
|
|
|
|
|
#3 |
|
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 |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Nov 2004
Location: Streamsolutions Headquarters
Posts: 11,953
|
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|