Hi,

I'm trying to detect blank into my stream for sending me an sms (in case of 
crash)

where is my error ?

#!/usr/bin//liquidsoap
set("log.file.path","/home/jazz/silence.log")
live = input.http("http://localhost:8000/jazz.ogg";)
source = fallback(track_sensitive=false, [strip_blank(max_blank=5.,live)] )
def handler()
  system("/opt/sms.sh")
end
source = on_blank(handler, source)

thanks by advance 

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to