2013-02-08, 07:59
Hi
I updated xbmc on ATV2 to frodo and have discovered that i have to use json to control xbmc now.
I use www.iruleathome.com as my home automation system.
there are a few codes i cant seem to get if anyone can help.
This is an example of a code i have got to work jsonrpc?request=%7B%22jsonrpc%22%3A%222.0%22%2C%22method%22%3A%22Input.Back%22%2C%22id%22%3A1%7D
this is the old codes i would like to get converted from the old API to JSON
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(settings))
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(videolibrary,movietitles))
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(videolibrary,tvshowtitles))
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(musiclibrary))
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(home))
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(videosettings))
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(appearancesettings))
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(osdaudiosettings))
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(osdvideosettings))
xbmcCmds/xbmcHttp?command=SendKey(0xF04D)
xbmcCmds/xbmcHttp?command=Action(18)
thanks
I updated xbmc on ATV2 to frodo and have discovered that i have to use json to control xbmc now.
I use www.iruleathome.com as my home automation system.
there are a few codes i cant seem to get if anyone can help.
This is an example of a code i have got to work jsonrpc?request=%7B%22jsonrpc%22%3A%222.0%22%2C%22method%22%3A%22Input.Back%22%2C%22id%22%3A1%7D
this is the old codes i would like to get converted from the old API to JSON
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(settings))
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(videolibrary,movietitles))
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(videolibrary,tvshowtitles))
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(musiclibrary))
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(home))
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(videosettings))
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(appearancesettings))
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(osdaudiosettings))
xbmcCmds/xbmcHttp?command=ExecBuiltIn(activatewindow(osdvideosettings))
xbmcCmds/xbmcHttp?command=SendKey(0xF04D)
xbmcCmds/xbmcHttp?command=Action(18)
thanks