Dear All!
Recently I discovered liquidsoap while I was searching for an
alternative to ices. Well it works really good and soon my appetite was
whetted and I tried to do more. Yet I am pulling my hair out. The
following "simple" script just keeps on telling me:
At line 11, char 53:
this value has type
source(_) (inferred at line 8, char 18-27)
but it should be a subtype of (the type of the value at line 11, char 46)
active_source(_) (inferred at /usr/lib/liquidsoap/1.1.1/utils.liq,
line 159, char 5-75)
Can anyone please give me a hint what I am doing wrong?
(I am using liquidsoap --version >> Liquidsoap 1.1.1)
The script:
====
#!/usr/bin/liquidsoap -t
set("log.file", false)
set("log.stdout", true)
set("log.level", 3)
set("server.telnet", true)
jingle = playlist("jingle")
live = in()
stream = fallback(track_sensitive=false,[live,jingle])
out(stream)
====
The subdirectory jingle/ contains a few mp3's and yes they play fine if
I say stream = jingle
Thank you so much!
Roland
--
_________________________________________
_ _ | Roland Schwarz aka. speedsnail
|_)(_ | sip:[email protected]
| \__) | mailto:[email protected]
________| http://www.blackspace.at
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users