Thank you Romain for your answer. I had missed that even when input.jack() isn't connected to any jack client, it streams silence. As a result you can still switch to the live input, even though there's nothing there. And as Romain said, since it's a track sensitive switch, and input.jack has endless tracks, it can never switch away from it.
I don't know if it's a good idea, but I'll explicit what Romain said: you need to put a track_sensitive=false parameter to your switch between live and news. Then you'll observe the hourly switch. There is a number of other things that you'll probably want to change next in your script. You probably don't want that infinite stream of silence on each jack input: instead you could use an interactive switching predicate (see my post on the recent "crossfade on input.http" thread), or use an automatic (more convenient but perhaps less precise) start/stop using strip_blank(). Unfortunately, input.jack() doesn't offer start/stop server commands. Also, the way you setup the news won't work very neatly unless, e.g., you jingles last *exactly* 7 seconds: using transitions to insert jingles would work better (you should find examples of that in the doc). See you later and good luck! -- David ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
