Hi Robert (and others), Thanks for the advice. I have done some experiments along the lines you suggested, but have to say it doesn't really do what I want, to the extent I want. It works (after a fashion) when applying only one or two scheduler codes, but doesn't cut it when trying to apply logic over several. Setting a code to 0 in a clock will apparently just make it unavailable for selection. On or off. But what I want to do is construct some more complex "and/or" situations which the scheduler will respond to. To put it into programming parlance, here's an example of what I want to be able to 'say' to the scheduler: "Pick me songs which have (Country and Blues) if ((not (Rock or Gospel)) and (speed is (Slow or Medium)) or (popular is True)) and (period is not (fifties or nineties))". As far as I can see, simply setting codes to 0 in a clock cannot achieve the "and/or" constraints I'm looking for. The Scheduler codes seem like a good idea, but Rivendell doesn't seem to be able to make more than very basic elementary use of them. Does anyone have any ideas on how I might achieve what I want, or should I be heading off in the direction of my C++ and MYSQL manuals to write a much more fussy and intelligent scheduler of my own? Thanks, James L. > From: jeffares.rob...@gmail.com > To: rivendell-dev@lists.rivendellaudio.org > Date: Tue, 31 Jul 2012 17:58:23 +1200 > Subject: Re: [RDD] Multiple Scheduler Codes > > On Tue, 2012-07-31 at 13:33 +1200, James Laurence wrote: > > > > What I want to be able to say is: "pick me songs which have both > > 'Blues' and 'Country' codes, provided they don't also have 'Rock' or > > 'Gospel' ". > > > > Is there a way to do this with the present Events and Clocks systems > > which are provided? > > In the clock set Rock to 0 and Gospel to 0 [default is 1] > > then run a schedule and see what it picks. > > Not sure if all scheduler codes are canvassed in making a selection, but > logically they must be, so setting one to 0 which is don't play in this > clock should eliminate that song. > > I have a clock which has blues set to 0 for daytime and a copy of the > clock runs at night with blues set to 3 or 4 and it generates sets at > night but none during the day. > > Robert Jeffares > Big valley Radio > Thames > > > > _______________________________________________ > Rivendell-dev mailing list > Rivendell-dev@lists.rivendellaudio.org > http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
_______________________________________________ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev