Fred,

Yes and thank you to all of the wording and terminology corrections. My
apologies, too many long hours this last month. 

One of the reasons for setting up the testbed was trying to do something
we've had limited success at getting automation manufacturers to do going
all the way back to the early '90s, namely provide a simple interface, be it
a voltage driven input or a command line, that allows weather bulletins to
override playing audio, add weather bulletins as the next event etc. The
markup language achieves this in a way that had some of my clients really
liking the effect. 

The issue that I ran into was/is that for some reason, at least in my case a
text file with macro commands, called as an argument to rmlsend doesn't
behave the same way as the very same commands in a macro cart fired by
pressing a button on the sound panel - or when the macro cart is fired by a
command using RMLSend. Since the commands work fine just firing the cart, it
works, since I need a VirtualWeatherman linux module to initiate the alerts
when they come in. But I am not sure why they behave differently from the
text file. I'd have to go back to my notes but off the top of my head the SP
(Sleep command) does not hold execution of the next item at all that way,
and I had some problems using MD to fade back up at the end after fading
down initially.



Here is the override command direct from the cart in MySQL:

LC RED WEATHER BULLETIN INTERRUPT!PP S3 5 5!MD 1 -23 2000!SP 6000!PP S3 4
5!SP 31000!MD 1 0 500!LB Radio Beach Sosua!

I actually copied that directly into the text file. Initially I had a
command on each line but it worked better, but not entirely properly entered
as in the DB:

This is the command line:

rmlsend --to-host=10.0.0.202 --to-port=5858 --from-file=interrupt-0.rml

interrupt-0.rml contains:

LC RED WEATHER BULLETIN INTERRUPT!PP S3 5 5!MD 1 -23 2000!SP 6000!PP S3 4
5!SP 31000!MD 1 0 500!LB Radio Beach Sosua!

That fails because sleep is ignored.

This interrupt-1.rml fires the macro cart directly and lets that cart handle
the rest of it and works as expected:

EX 050001!


Don't know if I need to change something, but I tested extensively different
ways of placint the commands in the file with some changes in behavior based
on position but never working to pause or bring the audio back up that way.
One other item I am missing is a command that would wait/sleep until a cart
has completed playing. At the moment, my software has to dynamically change
the sleep command length, and the cart length in the database entry for this
to deal with bulletins that vary in length.

Best

TC











-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Fred
Gleason
Sent: Wednesday, July 16, 2014 6:59 PM
To: [email protected]
Subject: Re: [RDD] FW: RDCatch Event from Command Line

On 7/11/14, 17:11 35, Thomas Churchill wrote:
> They are being run through RDSend.

I assume you mean 'rmlsend'?  There is no 'RDSend' module in stock
Rivendell.

Cheers!


|----------------------------------------------------------------------|
| Frederick F. Gleason, Jr. |              Chief Developer             |
|                           |              Paravel Systems             |
|----------------------------------------------------------------------|
|          A room without books is like a body without a soul.         |
|                                         -- Cicero                    |
|----------------------------------------------------------------------|

_______________________________________________
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