2014-05-23, 19:04
Hi all,
I posted this in the JSON-RPC Development forum and it seems like my question is more geared toward what is available from the PVR side. What I am looking to do is to directly open sub sections of the PVR functionality from the home screen (or anywhere else) via JSON. Specifically the EPG and Recordings sub sections.
Currently I can call these via keyboard shortcuts (e = activate EPG = XBMC.ActivateWindowAndFocus(MyPVR, 31,0, 10,0)) on my Windows systems however I am starting to use OpenElec without a keyboard via iOS - where JSON is my only communication option.
I have successfully used the following to call the PVR section up.
{"jsonrpc": "2.0", "method": "GUI.ActivateWindow", "params": { "window": "pvr" }, "id": 1 }
What I cannot seem to find any documentation on is how to access sub menus within PVR - such as EPG, Recordings.
My thought process is that something like this 'might' work - but I have no idea where to locate such parameters.
{"jsonrpc": "2.0", "method": "GUI.ActivateWindow", "params": { "window": "pvr", "parameters": [ "recordings" ] }, "id": 1 }
Does this exist or is this possible?
Any help you could give would be greatly appreciated.
I posted this in the JSON-RPC Development forum and it seems like my question is more geared toward what is available from the PVR side. What I am looking to do is to directly open sub sections of the PVR functionality from the home screen (or anywhere else) via JSON. Specifically the EPG and Recordings sub sections.
Currently I can call these via keyboard shortcuts (e = activate EPG = XBMC.ActivateWindowAndFocus(MyPVR, 31,0, 10,0)) on my Windows systems however I am starting to use OpenElec without a keyboard via iOS - where JSON is my only communication option.
I have successfully used the following to call the PVR section up.
{"jsonrpc": "2.0", "method": "GUI.ActivateWindow", "params": { "window": "pvr" }, "id": 1 }
What I cannot seem to find any documentation on is how to access sub menus within PVR - such as EPG, Recordings.
My thought process is that something like this 'might' work - but I have no idea where to locate such parameters.
{"jsonrpc": "2.0", "method": "GUI.ActivateWindow", "params": { "window": "pvr", "parameters": [ "recordings" ] }, "id": 1 }
Does this exist or is this possible?
Any help you could give would be greatly appreciated.