-updated liquidsoap scripts + library to be liquidsoap-beta2 compliant

This commit is contained in:
martin 2011-07-06 11:14:51 -04:00
parent 022b013dd2
commit 3dc1380fab
24 changed files with 593 additions and 192 deletions

View file

@ -0,0 +1,11 @@
s = on_track(
fun(_)-> begin print("TEST PASSED") shutdown() end,
blank(duration=1.))
r = ref false
d = source.dynamic({ if !r then [s] else [] end })
output.dummy(mksafe(d))
add_timeout(2.,{r:=true;(-1.)})
add_timeout(4.,{print("TEST FAILED");shutdown();(-1.)})