2011-09-20, 09:37
Tolriq Wrote:Long time since not posting in this thread
For Yatse i use infolabels :
All in one request this permit to have all the needed information for remotes to display and react to changes without having to make 3 or 4 request every seconds.
I also use :
"System.BuildVersion" and "System.ProfileName" to detect changes in profile and Xbmc version and ask users or auto change database on client side to avoid errors.
Thanks for that list. Some of those values should now be available through Player.GetProperties but others aren't. In case you want to make only one request but need to call multiple methods you might wanna consider using batch requests.
defender013 Wrote:hi all..
this is a really stupid and newb like question... (actually i am one..) but i was looking through the webAPI, which is now deprecated, it has support for changing guisettings.
I have not found this in jsonRPC. I even traced through the code, and i see that the only one actually accessing the gui functions is either through xbmcUtil or the webAPI.
am i missing something? are these in fact no longer supported? sorry for the stupid question, but i've searched for settings/guisettings/audiooutput (the one i'm interested in ) in json related wikis and posts for awhile, and i did not find anything specific.
You are right, there is no access to any settings/guisettings in jsonrpc yet. I have already looked into it a while ago but it's not that easy to do it simple and right. The way the http-api (webapi) does it is more of a hack than a real implementation and might cause some odd behaviour in xbmc's GUI if you change a guisetting at the wrong moment.