2009-03-24, 15:32
I'm playing around with the XBMC Web API, and I'm running into a problem. I spent about an hour searching last night, but since I'm new to this, I'm not sure what exactly I'm looking for.
I build a simple web based remote. It is not hosted on the XBMC, but on my phone. When I hit any of the buttons (up, down, left, right, select, play, stop), it performs that function, but redirects me to a page that just says "OK", which I guess is by design. If I hit back, I can hit the next button without a problem.
I guess what I need is a way to send the command without actually leaving the main page. I'm assuming I need to use javascript to send the command and get the response without leaving the page, but I'm not sure what kind of function I should be looking for.
Anyone run into this before? Anyone have any pointers?
Thank you.
I build a simple web based remote. It is not hosted on the XBMC, but on my phone. When I hit any of the buttons (up, down, left, right, select, play, stop), it performs that function, but redirects me to a page that just says "OK", which I guess is by design. If I hit back, I can hit the next button without a problem.
I guess what I need is a way to send the command without actually leaving the main page. I'm assuming I need to use javascript to send the command and get the response without leaving the page, but I'm not sure what kind of function I should be looking for.
Anyone run into this before? Anyone have any pointers?
Thank you.