Thanks for the idea Rob...
I have actually got the cart playing data being output which is read as needed.
Tat part was easy.
I want to email the broadcast times.
Unfortunately the UDP output turns \n into \r\n and mail won't include the text in the message but sends it as attachments. I can sed them out but I had thought there was an option in the UDP out that just sent \n without the \r in front of it.
Tried all three and on my system all options produce the same output.
bit of a red herring.
Just testing it now.

I have been learning Perl and can see it's more powerful than bash. Not that confident with it yet.

regards

Robert


On 12/07/16 00:56, Rob Landry wrote:

I always set my logging options to File, so there is a file 'rdairplay.log' that shows all events that were played in a day. I rotate the logs every night at midnight, and use a Perl script to create a daily aired log file that Natural Log can read for electronic reconciliation.

It seems to me you could do much the same and simply scan rdairplay.log for the cart number you are concerned with.


Rob


--
*Big Valley Radio*
64 Warner Park Avenue

Laingholm

Auckland 0604

09 8176358

0221693124

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

Reply via email to