MyBB Community Forums

Full Version: Radio fsock error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey. I have recently got a shoutcast server back online and I have a script which pulls in stats such as listeners, radio bit rate, current song being played. I had to ask my web host to add an exception to the ip or open a port or something like that so that when the radio is on, it wont show up a fsock error..

However the radio I have automatically shuts down after 15 minutes of no DJ's connecting to it, and this then bring back the fsock error.

I dont really know enough about php to know if this is possible or how to do it, but what I want is when the radio is completely offline, instead of it throwing up this fsock error, I can put some text in place of it like "Radio turned off" or something.


Hopefully someone may be able to help me out. If you need any more information please ask!