2019-11-10, 13:18
Hello gentlemen,
when issuing
But I would like to query via JSON RPC if PVR is available or not so that I can avoid querying "PVR.GetChannelGroups" if PVR is not available. I tried for example "PVR.GetProperties" but it also fails.
I searched alot but I cannot figure out how to detect via JSON RPC if PVR is available. Would someone help me out please?
when issuing
Quote:{"params":{"channeltype":"tv"},"method":"PVR.GetChannelGroups","id":8274,"jsonrpc":"2.0"}then I get this response
Quote:{"error":{"code":-32100,"message":"Failed to execute method."},"id":8274,"jsonrpc":"2.0"}I think the reason is that my Kodi device has no PVR client enabled. When I install a PVR client then it works.
But I would like to query via JSON RPC if PVR is available or not so that I can avoid querying "PVR.GetChannelGroups" if PVR is not available. I tried for example "PVR.GetProperties" but it also fails.
I searched alot but I cannot figure out how to detect via JSON RPC if PVR is available. Would someone help me out please?