[RDD] Confirming a cart has been played to an external log
waynemerricks at thevoiceasia.com
Sat Jul 9 10:46:54 EDT 2016
I used the UDP rlm to do this in house as I found the icecast rlm to
sometimes do strange things in our weird set up. I have the following
udp conf (for rlm):
Obviously remove the bits you don't need, I assume you could literally
stick with a cart number as:
That way you're just dealing with cart numbers and nothing else each
Then I have a reader script that just does this:
while true; do
if [[ $RAWDATA == $CARTNUM ]]; then
#This is the cart you wanted do something
In order to start the listening port I use nc and another script (via
screen -d -m -S updreader bash -c "nc -l -u -p 5860 |
Hope that makes sense,
On 2016-07-09 00:40, Robert Jeffares wrote:
> I have a script which picks up [road] traffic information from a
> dropbox and plays it 3 times.
> Audio is carted using rdimport and using RML PX it gets placed next
> and goes to air.
> Works well and handles multiple bulletins.
> When we have bad weather we have lots of data!
> I want to get the actual broadcast times and put them in the log the
> shell script generates.
> I thought I could make a macro cart which I can put in the log
> then put the traffic cart in so they play in sequence, the macro cart
> outputting time of day.
> I have thought of using Now & Next to somehow get data when that
> unique cart plays.
> Monitoring port 5860 and pulling in the data is something I can
> But the how to generate the data in the first place is causing acute
> brain fade.
> Someone will have done this somewhere for something else.
> Robert Jeffares
More information about the Rivendell-dev