Thanks Rob, Well the announcement would be in a rivendell dropbox folder, for automatic import.
So I guess it is only do-able with a shell script. Encounterd approx the same problem for 'dry' news items, to add intro/bed and outro .. If no item is available. Guess some creativeness is needed there Regards Peter Op di 22 jan. 2019 om 21:22 schreef Rob Landry <41001...@interpring.com>: > > What is the criterion to be used to determine whether or not there are > announcements? > > I would set up a macro to run an external shell script to determine if > there are announcements; if there are, turn on the TA flag, run the > announements, turn off the flag, and resume normal airplay. If there are > not, then resume normal airplay immediately. > > I would have the announcements set up as a Sound Panel button, and use a > STOP transition on the next event following the one that invokes the shell > script. > > So: Rivendell starts the shell script and stops. The shell script > determines if there are announcements to be broadcast; if so, it turns on > the TA flag and fires the Sound Panel button for the announcements using > PP, waits for the announcements to finish playing, turns off the TA flag, > and executes PN 1! to resume normal airplay. > > > Rob > > -- > Я там, где ребята толковые, > Я там, где плакаты "Вперёд", > Где песни рабочие новые > Страна трудовая поёт. > > On Tue, 22 Jan 2019, Peter Claes wrote: > > > Hi all, > > Is there a way to 'branch if' in the Rivendell macro language ? > > > > Quick sketch of my problem: > > We would like to automate the traffic annoucements. > > We have 2 marcro's : TA flag on, and TA flag off (both UO command sending > > UDP) > > And the audio carts sit in between ofcourse. > > > > but if the there are no announcements to make, it should also not start > the > > macro's. > > > > Is this possible ? > > > > Regards > > Peter > > > > > >_______________________________________________ > Rivendell-dev mailing list > Rivendell-dev@lists.rivendellaudio.org > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev >
_______________________________________________ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev