INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MCWS Request for additional methods.  (Read 2039 times)

ksprul

  • Member
  • *
  • Posts: 3
MCWS Request for additional methods.
« on: November 03, 2010, 09:50:13 pm »

Hi, I developed the Creston module that allows sonos zone players to be integrated with Creston home automation systems.  I’ve been using Media Center for a few months now and have built a crestron module that controls Media Center via MCWS which is working well.  However, it would be great if you could add some additional methods to the web service to allow control of the remote functions.  It particular it would be great if you provided: up, down, left, right, enter, page up, page down and the various Theater view: sources.
I’d be happy to upload the working crestron module to the forum for other users if you could add these commands.  I currently have the above functions working via a separate program that listens on a tcp port and sends key presses to Media center.  Would be great if I could simplify the system
Thanks in advance and keep up the great work!
Karl
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42445
  • Shoes gone again!
Re: MCWS Request for additional methods.
« Reply #1 on: November 03, 2010, 10:14:29 pm »

Hi, and welcome to Interact.

Update to the latest Media Center 15, then look at the MCWS/v1/Control functions.  You can do keyboard, command line, or MCC commands.  

More information about MCC commands here:
http://wiki.jriver.com/index.php/Media_Center_Core_Commands
Logged
Matt Ashland, JRiver Media Center

ksprul

  • Member
  • *
  • Posts: 3
Re: MCWS Request for additional methods.
« Reply #2 on: November 03, 2010, 10:20:51 pm »

thanks for the quick reply.  upgraded and all looks great.  will work on adding those functions to my crestron module.  thanks for the help
karl
Logged

ksprul

  • Member
  • *
  • Posts: 3
Re: MCWS Request for additional methods.
« Reply #3 on: November 03, 2010, 10:41:26 pm »

ok it works very nicly however i found a mistake in the web service documentation.  You give the example as follows to move right

http://localhost:52199/MCWS/v1/Control/Key?Key=R&Focus=1

however this does not work...i got it to work if you use

http://localhost:52199/MCWS/v1/Control/Key?Key=Right&Focus=1

might be worth updating
thanks
Karl
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42445
  • Shoes gone again!
Re: MCWS Request for additional methods.
« Reply #4 on: November 04, 2010, 09:02:58 am »

Thanks.  The type will be fixed in a coming build.

Here's a list of all the special keys:
Insert
Menu
Delete
+
-
Left
Right
Up
Down
Backspace
Enter
Escape
Apps
Page Up
Page Down
Home
End
Space
Print Screen
Tab
NumPad0...NumPad9
F1...F24
Logged
Matt Ashland, JRiver Media Center

bdgarcia

  • Recent member
  • *
  • Posts: 9
Re: MCWS Request for additional methods.
« Reply #5 on: November 08, 2010, 09:47:44 pm »

ksprul,

Any chance you would be willing to share your crestron module?

Thx
Bryan
Logged
Pages: [1]   Go Up