I am using something very similar, and found the same problem under the latest 
liquidsoap 1.1.0:

------------ cut here ----------------
ac = audio_to_stereo(mksafe(playlist(id="ac",mode="random", reload=7200, 
"/MUSIC/AC")))

....
timed_promotions =
switch([
    ({(1w or 2w or 3w or 4w or 5w) and 59m49s} , X00newsweekly()),
    ({(6w or 7w) and 59m49s}                   , X00newsweekends()),
    ({  8m0s }                                 , skynewsitem),
    ({ 14m49s}                                 , X15news()),
.....
])

radio = ac
radio = smooth_add(delay=0.8,p=0.0,normal=radio,special=timed_promotions)
output.icecast( %aacplus(channels=2,bitrate=48), host = "127.0.0.1", port = 
8000, password = "XXXXX", mount = "XXXX.aac", name="XYZ", genre="Various", 
url="http://XX.XXXXX.XXX";, description="XXX Testing Radio", radio)

----------- end cut ---------------

I confirm your same problem behaviour with 1.1.0 compiled from the latest svn 
on 
Ubuntu precise: icecast stream is interrupted after finishing playing 
timed_promotion at the time defined with switch and cpu goes high at 100% until 
I kill the script. Nothing strange or significant in the liquidsoap log.

When running the same script with 1.0.1 smooth_add behaves correctly, and 
timed_promotion is faded in and out correctly.


Pad

Thomas Bühlmann wrote on 21/03/13 11:34:
> Hello list!
>
> I'm experimenting with the "new" Version 1.1.0.
> I found a problem in using smooth_add().
>
> I have a time announcement mp3 every hour made by an external script.
> This is added to  the radio-stream this way:
>
> clock   = playlist("/music/time", id="news")
> ...
> radio =
> smooth_add(delay=0.9,p=0.3,normal=radio,special=switch([({30m00s},clock)]))
> (radio is the Radio stream)
>
> I use playlist() for the news mp3 to not confuse LS of the changing file.
> /music/time contains only one file.
>
> At the specified time i hear the announcement fade in and at the end
> when it should fade back to radio, LS suddenly stopps streaming.



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to