Opps, forgot a couple of things.
It will not be exact, because of the +/- margin and t doesn't take into
account segues in the songs or sweepers so if you want it to always be
long I would
add a variable of minusMargin and make it 0.
Then change the 2 select lines that get the songs.
Change this: GROUP_NAME in ({2}) order by Rand() limit
1".format((secLeft-margin), (secLeft+margin), musicGroups))
To This: GROUP_NAME in ({2}) order by Rand() limit
1".format((secLeft-minusMargin), (secLeft+margin), musicGroups))
Hope that helps and doesn't confuse anyone too much
John
On 1/28/2013 2:53 AM, Jay Eames wrote:
> Hi guys,
>
> I've done some digging around on Google and the like, but so far have
> been unable to find a definitive answer.
>
> As far as I understand it, Rivendell does not support back timing,
> which is presenting us with a bit of a problem when it comes to the
> run up to the news.
>
> The news is hard timed to the top of the hour, and when in automatic
> mode it will play music before hand. The problem is that to ensure
> there isn't silence before the news we overfill the hour, but this
> often means that we end up playing less than 30 seconds of a track
> before the news fires. Clearly this doesn't sound very good at all.
>
> I am interested in how other people deal with TOTH hard starts like
> this in Rivendell? Is there something obvious (or not so obvious) that
> I'm missing?
>
> Jay
>
> --
> There are 2 kinds of people in the world; Those who can
> extrapolate from incomplete data
>
>
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev