That's it! Thank you so much, Samuel.

     Hank Sims
     New Media Director/Co-director of News
     Lost Coast Communications
     (707) 786-5104



On Thu, Sep 19, 2013 at 11:53 AM, Samuel Mimram <[email protected]> wrote:

> Hi,
>
> Your script is very fine, excepting for one mistake :) The switch
> takes the first track whose condition is true, so your should change
> line 8 to:
>
> s = switch(track_sensitive=false,[(b,s1), ({true},s2)])
>
> Notice the {true}! With your version (i.e. with {false} instead of
> {true}) when b becomes false, it tries to see whether the condition of
> s2 is true, and it is not, so there is nothing left to play in the
> switch and the script shuts down, which explains what you have been
> observing.
>
> On a general side, you should not use fallible=true in your outputs:
> if a source may fail, it is very likely to indicate some unhandled
> behavior in your script, that is a case where we don't have anything
> to stream anymore.
>
> Cheers,
>
> Samuel.
>
> On Wed, Sep 18, 2013 at 8:47 PM, Hank Sims <[email protected]> wrote:
> > Hello:
> >
> > Here's my scenario. I'm reading live audio from pulseaudio and sending
> that
> > to an icecast server. What I need to do is, upon a signal from an
> external
> > program, switch to an MP3 off my machine and then switch back to the
> > pulseaudio input when that MP3 is finished.
> >
> > How would you go about accomplishing this?
> >
> > My current strategy is to use an interactive telnet server into the
> > liquidsoap process -- I'm using liquidsoap 1.1.1 -- but I cannot get a
> > dumbed-down test version of this to work at all.
> >
> > Here's my test.liq file:
> >
> > http://pastebin.com/f4indkwQ
> >
> > And here is the liquidsoap test.log file, which shows my process dying
> when
> > I set the "button" boolean to false in a telnet session:
> >
> > http://pastebin.com/ug97zh7g
> >
> > But perhaps I am going about this in all the wrong way?
> >
> > Thanks very much in advance for your help.
> >
> > --Hank Sims
> >
> >
> ------------------------------------------------------------------------------
> > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
> SharePoint
> > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
> > includes
> > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Savonet-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/savonet-users
> >
>
>
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
> SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
> includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to