JSON API or HTTP API
#1
I'm trying to build a remote for XBMC on the iPhone and iPad using CommandFusion's iViewer.

Is it possible to open XBMC directly into a plugin like YouTube? Or at least navigate directly to a plugin once XBMC is open using the HTTP API or JSON API. Right now I'm using the the JSON API on the TCP socket for control.
Reply
#2
Yes, but ...

If you highlight some example add-on and add it to the Favourites then look in favourites.xml you'll see a link like:

ActivateWindow(10001,"plugin://plugin.program.mceremote/")

and this is how you open the add-on. However the number, 10001 in this case, is determined by what type of add-on you're opening. See http://wiki.xbmc.org/index.php?title=Window_IDs for details.

I'm not sure what the JSON equivalent of ActivateWindow is. I had a quick look at the Wiki and I couldn't see anything obvious.

JR
Reply

Logout Mark Read Team Forum Stats Members Help
JSON API or HTTP API0