Hi I’m trying to set the keyboard layout using a button within the DialogKeyboard.xml file.
I can find what the current setting is using the following:
xbmc.executeJSONRPC(‘{“jsonrpc”:”2.0″, “id”:1, “method”:”Settings.GetSettingValue”,”params”:{“setting”:”locale.keyboardlayouts”}, “id”:1}”)
but when I try to change that using the following code and passing to the window it doesn’t work – any ideas?
xbmc.executeJSONRPC(‘{“jsonrpc”:”2.0″, “method”:”Settings.SetSettingValue”, “params”:{“setting”:”locale.keyboardlayouts”, “value”:”English ABC”}, “id”:1}’ )
Thanks