>Creating a blank source which relays another source immediately when
available, however, is quite easy: you only have to use the mksafe()
>operator. For instance, if s if a source that will be available
sometimes, you can do:
># Wrap s with mksafe() to output blank (silence) when it is not
available:
>s = mksafe(s)


Thank you Romain, I have followed your suggestion and done this:

s = single("/my/default.mp3")  -- a file that doesn't exist
s = mksafe(s)
monosource = mean (s)
output.icecast(%mp3(msg="",mono=true,bitrate=64),fallible=true,mount="this
streamis_blank.mp3",host="server.com",port=8080,password="pwd",monosource)

of course, Liquidsoap sends me plenty of error messages since the single
.mp3 is not existing on my server. How could this be omitted?

Alex

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to