Skip to content

OnBoomboxStationValidate

Usage

  • Return a bool value to override default behavior

Example Autogenerated

csharp
private bool? OnBoomboxStationValidate( string url )
{
    Puts( "OnBoomboxStationValidate works!" );
    return null;
}

Location

  • BoomBox::IsStationValid(string url)
csharp
private static bool IsStationValid(string url)
{
	ParseServerUrlList();
	object obj = Interface.CallHook("OnBoomboxStationValidate", url);
	if (obj is bool)
	{
		return (bool)obj;
	}
	ShoutcastStreamer.CheckBuiltInRadios();
//---

Released under the MIT License.