2015-04-17, 00:43
I'm looking to replicate the settings and my first problem is the skin settings. Should it be a separate category? Example:
Therefore:
As you can see (and in the GUI) there is a sub-menu for the skin settings. How do I get those or don't I?
Thanks.
Code:
{ "jsonrpc": "2.0", "method": "settings.GetCategories", "params": { "section": "appearance" }, "id": 1 }
Code:
"categories": [
{
"help": "Category containing all Skin related settings.",
"id": "lookandfeel",
"label": "Skin"
},
{
"help": "Category containing all locale/regional settings.",
"id": "locale",
"label": "International"
},
{
"help": "Category containing settings related to how file lists are displayed.",
"id": "filelists",
"label": "File lists"
},
{
"help": "Category containing all screensaver settings.",
"id": "screensaver",
"label": "Screensaver"
}
]
Code:
{ "jsonrpc": "2.0", "method": "settings.GetSettings", "params": { "filter": { "section": "appearance", "category": "lookandfeel"} }, "id": 1 }
Code:
"settings": [
{
"addontype": "xbmc.gui.skin",
"allowempty": false,
"control": {
"delayed": false,
"format": "addon",
"type": "button"
},
"default": "skin.confluence",
"enabled": true,
"help": "Select the skin for the user interface. This will define the look and feel of Kodi.",
"id": "lookandfeel.skin",
"label": "Skin",
"level": "basic",
"parent": "",
"type": "addon",
"value": "skin.aeon.shednox.helix"
},
{
"control": {
"delayed": false,
"format": "action",
"type": "button"
},
"enabled": true,
"help": "Change specific skin settings. The available options are dependent on the skin used.",
"id": "lookandfeel.skinsettings",
"label": "Settings",
"level": "basic",
"parent": "lookandfeel.skin",
"type": "action"
},
etc.
Thanks.