hi andre,

just do:

-
source = "whatever you did until now"

silence = single("/path-to-your-folder/silence.mp3")
source = fallback(track_sensitive=false,[source, silence])
-

just make sure the silence file exists. 
(to quickly make a silence file:

dd if=/dev/zero of=silence.raw bs=44100 count=7200
sox -t raw -r 44100 -s -w -c 2 silence.raw silence.wav
lame -b 192 silence.wav /path-to-your-folder/silence.mp3
)

hope this helps & greetings jonas


ps: alternatively you can try with the hackish way, but not good for liquidsoap:

source = mksafe(source)






On Dec 1, 2010, at 2:57 , [email protected] wrote:

> Hi David,
> 
> Well, I sort of figured that what I need could not be done in liquidsoap,  
> given
> its present structure and focus. So, while waiting for a reply, I went  
> ahead
> and wrote a PHP script that accomplishes it quite nicely.
> 
> Simply: it checks for current day, then serves the appropriate day's  
> 'liquidsoap.liq'
> script.
> 
> One thing surfaced while trying to get liquidsoap to start. If any file is  
> not
> present or is sommehow corrupted ('That source is fallible'), liquidsoap  
> startup
> just dies. Bad -- very bad! I'd rather it start and give blank air, than  
> that!
> 
> With nearly 600 audio files, the odds that liquidsoap will barf are very  
> high.
> Although I have insitituted PHP/database checking mechanisms to forestall  
> this,
> yesterday, it missed one obviously. Sigh . . .
> 
> Would setting 'track_sensitive=false' alter this behaviour by any chance?
> 
> Thanks for you help and suggestions!
> Andre
> 
> 
> 
> On Wed, 01 Dec 2010 01:45:31 -0500, David Baelde <[email protected]>  
> wrote:
> 
>> Hi,
>> 
>> You cannot leave something undefined even temporarily. But you have
>> several options, depending on what you call a show. For example if
>> it's a list of files you can use request.dynamic or a queue, perhaps
>> also a playlist. The queue may be the simplest: when files are ready,
>> just push them in the queue using telnet.
>> 
>> HTH
> 
> 
> -- 
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
> 
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to