Hi David, Thanks for answering.
On Sun, 30 Jan 2011 11:58:25 -0500, David Baelde <[email protected]> wrote: > Hi Andre, > > I told you from the beginning that your approach (the way you wrote > your script) was exotic and could cause problems. You might consider > switching to a simpler (main) script, hooked to a scheduling system > (written in liq or something else) hooked via a request.dynamic() > source. When you had originally told me that I was heading for difficulties with this exotic script, I was totally inexperienced with liq scripts (still am, but getting progressively less so :). While waiting for your reply, I played around with mksafe(switch)) - I can least get the script to load without barfing, but I have to wait until Monday to fire it up. At present, the primary reason for using liquidsoap is for its time function that will allow me to switch at the current time to the correct show. I know I will use other features later on, but I need real-time switching without resorting to external scripts that would still need to interface with liquidsoap. Much simlper to do an all-in-one-inhouse' liq script, even if it's 2k lines of code. > > Other than that, I cannot help unless you give a concise and abstract > definition of what you're trying to achieve. Let me propose a > specification, please tell me if this is what you're trying to do: > * you have several shows, each show is a source playing several tracks > * each show should only play for a specified time interval, e.g. 9h-12h > * each show should start with a jingle introducing the show > Your specification is correct, with the provisio that a few shows do not have a jingle introducing the show, and some do not have ending track(s) since they are too close to show slot end. Since they is too much variation between shows, I can't do a 'one-size- fits-all' approach - how I'd love to have the simpler scripts most folks use. What I want to achieve with Liquidsoap: Defintions: 'Show slot' - allotted time slot for show block 'Show block' - includes TOH jingle, [opener], show, [closer], [end] 'Show' - pre-recorded source with unique duration 'TOH[S|L]' - jingle for station identification, S=lshort, L=long 'Opener' - unique show introduction 'Closer' - jingle pointing to website 'End' - filler source to end of Show slot Details: 1. 17-20 Show blocks (depending on weekday) either 1/2 - 1 hr Show slot 2. Each Show block begins with Top of Hour jingle (may be short or long depending on show duration) 3. Most Show blocks have an unique opener track 4. Show track with varying, unique duration 5. Depending on show duration, most Show blocks have a closer track. 6. Depending on show duration, most Show blocks have a end source - varying to fill the difference betwen show source end and show slot end. Thanks, Andre -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
