PDA

View Full Version : MC - SendMessage Help Request



Beamer
November 20th, 2004, 07:46 AM
I have been trying for some time to control J. Rivers Media Center with Girder but have hit a brick wall. I am running MC 10 with the MC 9 GLM file supplied with the program.

Normal transport control works great but I'm unable to send cursor up, down, left, right and enter keys as the GLM file does not support these functions. As far as I can ascertain (being a newbie) the GLM file makes use of the SendMessage plugin protocol.

Can anyone advise me how to capture the necessary commands for this protocol to perform navigation and selection or better still let me have a working MC 10 GLM that includes navigation :wink:

Chris

danward79
November 20th, 2004, 09:39 AM
Download JLee's ccf he has a gml that will do this.

Or try the supplied GML that came with JRMC.

Or do a search for the JRMC command line options.

Mastiff
November 20th, 2004, 11:18 AM
Or use the keyboard functions in Girder. I suggested that in your original thread at the MC board, but after you had posted here. Sorry.

Beamer
November 20th, 2004, 01:28 PM
Download JLee's ccf he has a gml that will do this.

Or try the supplied GML that came with JRMC.

Or do a search for the JRMC command line options.

As I mentioned, the MC supplied gml does not have this functionality. JLees gml is strictly for use with Netremote and so does not have or need this functionality.

Your command line options suggestion might be the way to go but it would be real nice to be able to use the SendMessage protocol. Coomand line functions are definitley going to be my last resort but perhaps there is no other way!

Thanks for sharing your ideas.

The search goes on :wink:

Beamer
November 20th, 2004, 01:33 PM
Or use the keyboard functions in Girder. I suggested that in your original thread at the MC board, but after you had posted here. Sorry.

You have probably read my response from the MC forum but for the sake of anyone else that may be interested in helping, Girder does not parse the cursor or enter keys to the MC 10 application even when treated as an alternative procedure.

I still believe for all my endeavours that there is a simple solution to the problem. I just cannot think of it :(

Promixis
November 20th, 2004, 02:15 PM
Have you tried changing the targeting to foreground app?

danward79
November 20th, 2004, 02:22 PM
Hi


JLees gml is strictly for use with Netremote and so does not have or need this functionality.


Unless I am mis understanding what you mean, JLee's gml does include this, if you open his GML, goto MediaCenter > Navigation, there is an UP, Down, Left, Right and enter. He uses the send key method.

Anyway good luck, with our search... :wink:

Beamer
November 20th, 2004, 03:57 PM
Hi


JLees gml is strictly for use with Netremote and so does not have or need this functionality.


Unless I am mis understanding what you mean, JLee's gml does include this, if you open his GML, goto MediaCenter > Navigation, there is an UP, Down, Left, Right and enter. He uses the send key method.

Anyway good luck, with our search... :wink:

I stand corrected, I missed the Nav entry (too many hours on this cunnundram). It seems he is using the keyboard parse with forground focus. It still does not work for me at the moment but seeing Mike C comment on the subject I'm begining to believe my problem is two fold. I am testing using the F5 method and to do a test with foreground focus I will need to send the command via the remote. I'm hoping that Forground focus and sending the test via the remote will solve the issue.

I will let you know & thanks for putting me right.

Beamer
November 20th, 2004, 04:01 PM
Have you tried changing the targeting to foreground app?

Mike, thanks for the pointer. I'm hopeful that selecting Foreground may fix my issue. I have tested changing the focus slightly and it does work on the focused (captured) view which in my test case was 'listview'. Fingers crossed!

danward79
November 20th, 2004, 04:03 PM
your F5 method is the problem, assign a hotkey to the command and try that.

Beamer
November 21st, 2004, 07:43 AM
your F5 method is the problem, assign a hotkey to the command and try that.

Thanks Dan

Like most problem this one turned out to be caused by no less than 3 issues.

1. F5 cannot be used to test keyboard parse functions
2. I needed to set Focus for Foreground
3. Last but not least, My Marantz 9500 does not send RC6 Mode 6A command correctly! It sends the right command followed by a different one followed by the correct command. Easily fixed by using a different IR command range.

A BIG THANKS to everyone for your help, I can now start finally configure everything for remote operation.

Chris

danward79
November 21st, 2004, 07:57 AM
The snag you found with the IR is common. It is not really a snag.

It often shows it's self as having to press a button twice for a command. I just fix it by assigning to events to the command, one for each command. Simple!
:wink:

Anyway, we live we learn

Beamer
November 21st, 2004, 08:05 AM
The snag you found with the IR is common. It is not really a snag.

It often shows it's self as having to press a button twice for a command. I just fix it by assigning to events to the command, one for each command. Simple!
:wink:

Anyway, we live we learn

I'm amazed that you have seen it before and I like your solution :) Do you have any idea why the remote sends two alternative commands? At first I thought it was Girder getting confused but now I really believe that the the remote is doubling up on the codes.

Do you think it could it be part of the protocol to enable one button for on/off when the equipment actually needs two discrete commands for the function? Can't think of any other reason for the phenomenon.

danward79
November 21st, 2004, 08:17 AM
It is actually part of the protocol. I for the life of me remember why.

There are some good documents available on the subject. If you are really keen on finding out why, I would start my search on RemoteCentral.com

Beamer
November 21st, 2004, 08:22 AM
It is actually part of the protocol. I for the life of me remember why.

There are some good documents available on the subject. If you are really keen on finding out why, I would start my search on RemoteCentral.com

Thanks again Dan, boy it's nice to sort of understand what I am doing again :wink:

Promixis
November 21st, 2004, 09:16 AM
Beamer, when you get everything working with MC10 would you please upload your GML to the website under Developer/Upload.

Beamer
November 21st, 2004, 09:21 AM
Beamer, when you get everything working with MC10 would you please upload your GML to the website under Developer/Upload.

Will do and thanks again for your support.