I have a shell script that looks for a traffic announcement in /home/rd/dropbox

if there is one it is renamed with a date-time filename and carted

it is then scheduled to play next

and again in 35 minutes

and again 35 minutes after that.

which suits my needs.

the script is run by cron every 5 minutes from :11 to :48

In one event we had 3 sets of information running simultaneously [It was a significant event]

I have a version that does it once

item has to be self contained and it just interrupts whatever is on

email me if you want the scripts

regards

Robert Jeffares


On 23/01/19 09:22, Rob Landry wrote:

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



_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to