How can I control the Submenu with HTTP API?
#1
Question 
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
Reply
#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.
Reply
#3
Great Thanks i tried it and it worksLaugh,
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.Big Grin

ciao Stuf
Reply

Logout Mark Read Team Forum Stats Members Help
How can I control the Submenu with HTTP API?0