Im trying to control XBMC with a crestron using HTTP API.
I found almost everything i need i mostly use the action command.
But there is this one thing i cant seem to get right for example:
When you right click on an item you get this submenu that says add to playlist etc but i can't seem to navigate trough them with http api.
I tried almost all the action commands in here but it doesnt work.
I would appreciate it if you help me.
Have a nice day, Greetings Stuf
How can I control the Submenu with HTTP API?
Stuf
Junior Member Posts: 2 Joined: May 2009 Reputation: 0 |
|
| find quote |
bipolarbear
Junior Member Posts: 4 Joined: May 2009 Reputation: 0 |
2009-06-03 21:01
Post: #2
I had run into the same problem. I got around it easy enough using SendKey instead of Action. I added some entries to to Keymap.xml. taking some unused keyboard keys (printable ascii charactures) and using them for left, right, up, down, select, and back. Then use Sendkey and the ASCII code (you have to use the code for the upper case letter,.. that tripped me up for a bit) for whatever letter you set up.
example: I used l (lower case L) for left in Keymap.xml the ascii code for l is 4C in hex. so the command is xbmcHttp?command=SendKey(0xF04C) This also gets around the problem of HTTPAPI Action commands not pulling XBMC out of the screen saver. |
| find quote |
Stuf
Junior Member Posts: 2 Joined: May 2009 Reputation: 0 |
2009-06-04 12:50
Post: #3
Great Thanks i tried it and it works
,Well not at first but i replaced all my action commands with sendkeys and now i can use the submenu. Now i can finnaly finish my project. ![]() ciao Stuf
(This post was last modified: 2009-06-08 16:16 by Stuf.)
|
| find quote |

,
Search
Help