I've got it working now through rmlsend and running the library macro cart.


Now's the trick to get the GPI trigger working.


Thank you for your help.


As soon as I help a group get their LPFM, I'll submit some draft revised docs 
to help someone else out...


Steve Varholy
President and General Manager

[1478183502168_WXRY_Full_993_300x145.png]


The Historic Barringer Building

1338 Main Street - Suite 202

Columbia, South Carolina 29201

Office: (803) 753-7260 x 251

Direct: (803) 404-5535

Cell: (703) 585-2101


A Service of the Independent Media Foundation

________________________________
From: [email protected] 
<[email protected]> on behalf of Steve Varholy 
<[email protected]>
Sent: Wednesday, January 18, 2017 4:29:08 PM
To: Wayne Merricks; [email protected]
Subject: Re: [RDD] Macro Help


Here's what I have in the end of syslog:


I manually hit the panel button and got audio playback.


But nothing in response to rmlsend


Jan 18 15:40:04 rdhost ripcd: received rml: 'PP s1 1 1!' from 127.0.0.2
Jan 18 15:40:05 rdhost ripcd: received rml: 'PP s1 1 1!' from 127.0.0.2
Jan 18 15:40:06 rdhost ripcd: received rml: 'PP s1 1 1!' from 127.0.0.2
Jan 18 15:40:06 rdhost ripcd: received rml: 'PP s1 1 1!' from 127.0.0.2
Jan 18 15:40:06 rdhost ripcd: received rml: 'PP s1 1 1!' from 127.0.0.2
Jan 18 15:40:07 rdhost ripcd: received rml: 'PP s1 1 1!' from 127.0.0.2
Jan 18 15:40:07 rdhost ripcd: received rml: 'PP s1 1 1!' from 127.0.0.2
Jan 18 15:40:07 rdhost ripcd: received rml: 'PP s1 1 1!' from 127.0.0.2
Jan 18 15:40:08 rdhost ripcd: received rml: 'PP s1 1 1!' from 127.0.0.2
Jan 18 15:40:08 rdhost ripcd: received rml: 'PP s1 1 1!' from 127.0.0.2
Jan 18 15:40:08 rdhost ripcd: received rml: 'PP s1 1 1!' from 127.0.0.2
Jan 18 15:40:09 rdhost ripcd: received rml: 'PP s1 1 1!' from 127.0.0.2
Jan 18 15:40:10 rdhost ripcd: received rml: 'PP s1 1 1!' from 127.0.0.2
Jan 18 15:40:11 rdhost ripcd: received rml: 'PP s1 1 1!' from 127.0.0.2
Jan 18 15:40:18 rdhost caed: LoadPlayback  Card: 0  Stream: 0  Name: 
/var/snd/060001_001.wav  Handle: 20
Jan 18 15:40:18 rdhost caed: PlaybackPosition - Card: 0  Stream: 0  Pos: 0  
Handle: 20
Jan 18 15:40:18 rdhost caed: Play - Card: 0  Stream: 0  Handle: 20  Length: 
2042  Speed: 100000  Pitch: 0
Jan 18 15:40:20 rdhost caed: UnloadPlayback - Card: 0  Stream: 0  Handle: 20
Jan 18 15:42:17 rdhost ripcd: received malformed rml: "pp s1 1 1!" from 
127.0.0.1:38574
Jan 18 16:04:36 rdhost ripcd: received malformed rml: "ex 060001!" from 
127.0.0.1:33014
Jan 18 16:09:57 rdhost ripcd: ran local maintenance routines
Jan 18 16:18:46 rdhost yum[15895]: Installed: 
1:gnome-system-log-2.28.1-10.el6.x86_64
Jan 18 16:26:38 rdhost caed: LoadPlayback  Card: 0  Stream: 0  Name: 
/var/snd/060001_001.wav  Handle: 21
Jan 18 16:26:38 rdhost caed: PlaybackPosition - Card: 0  Stream: 0  Pos: 0  
Handle: 21
Jan 18 16:26:38 rdhost caed: Play - Card: 0  Stream: 0  Handle: 21  Length: 
2042  Speed: 100000  Pitch: 0
Jan 18 16:26:40 rdhost caed: StopPlayback - Card: 0  Stream: 0  Handle: 21
Jan 18 16:26:40 rdhost caed: UnloadPlayback - Card: 0  Stream: 0  Handle: 21



Steve Varholy
President and General Manager

[1478183502168_WXRY_Full_993_300x145.png]


The Historic Barringer Building

1338 Main Street - Suite 202

Columbia, South Carolina 29201

Office: (803) 753-7260 x 251

Direct: (803) 404-5535

Cell: (703) 585-2101


A Service of the Independent Media Foundation

________________________________
From: [email protected] 
<[email protected]> on behalf of Wayne Merricks 
<[email protected]>
Sent: Wednesday, January 18, 2017 3:40:13 PM
To: [email protected]
Subject: Re: [RDD] Macro Help

Just to combine this with Kyle's advice what you're after is either "\
" to denote spaces or the quotes like Kyle suggests e.g.

rmlsend "PP S1 1 1!"

or assuming I get my delimiters right:

rmlsend PP\ S1\ 1\ 1\!

the \<space> means this is a space in the current argument and not a
new argument.  But yeah Kyle's is easier to read by far.

You should then be able to look at syslog to see if Riv picks up the
RML command.

On 2017-01-18 20:25, Steve Varholy wrote:
> He's right. I used "/" as the delimiter. I also screwed up the S1
>
> However, it still just responds with the help listing.
>
> [rd@rdhost ~]$ rmlsend PP S1 1 1 !
>
>  rmlsend [--to-host=<hostname>] [--to-port=<port>]
> [<rml>|--from-file=<file>]
>
>  Where <hostname> is the name or IP address of the host to send the
> command to
>  (default = localhost), <port> is the UDP port to to send the message
> to
>  (default = 5859), <rml> is any valid RML code and <file> is the name
> of a file
>  containing valid RML code. If '-' is specified as <file>, then
> rmlsend will
>  read the list of RML commands to be sent from standard input.
>
>  When specifying RML code on the command line, it will likely be
> necessary
>  to escape any special characters (such as spaces or bang [!]
> characters)
>  to protect them from the shell.
>
>  Examples:
>  rmlsend LL TestLog!
>  Send the RML command 'LL 1 TestLog!' to the local host.
>
>  rmlsend --to-host=host.mydomain.com --to-port=5858
> --from-file=test.rml
>  Send the RML commands in 'test.rml' to the system at
> 'host.mydomain.com' at
>  port 5858.
>
> STEVE VARHOLY
>  President and General Manager
>
> The Historic Barringer Building
>
> 1338 Main Street - Suite 202
>
> Columbia, South Carolina 29201
>
> Office: (803) 753-7260 x 251
>
> Direct: (803) 404-5535
>
> Cell: (703) 585-2101
>
> A Service of the Independent Media Foundation
> -------------------------
>
> FROM: [email protected]
> <[email protected]> on behalf of Cowboy
> <[email protected]>
>  SENT: Wednesday, January 18, 2017 3:11:46 PM
>  CC: [email protected]
>  SUBJECT: Re: [RDD] Macro Help
>
> On Wed, 18 Jan 2017 15:00:05 +0000
>  Wayne Merricks <[email protected]> wrote:
>
>  > The is a command line problem,
>
>  No.
>  It's a command line solution.
>
>  You need a way to tell the system that a space is not a delimeter,
>  as it always is, so the is the "escape" character.
>  It tells the system that the very next single character is to be
>  taken literally, and not by its normal meaning.
>  The same "escape sequence" applies to all special characters that
>  have dedicated meanings.
>  *, ,the itself, etc.
>
>  --
>  Cowboy
>
>  http://cowboy.cwf1.com [1]
>
>  The trouble with heart disease is that the first symptom is often
> hard
>  to deal with: death.
>  -- Michael Phelps
>
>  _______________________________________________
>  Rivendell-dev mailing list
>  [email protected]
>  http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev [2]
>
>
> Links:
> ------
> [1] http://cowboy.cwf1.com
> [2] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

_______________________________________________
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