2018-11-30, 00:35
could someone please confirm if 'PVR.Record is functioning in Leia 18.
I am trying to form an RPCString in python to call from kodi voice pvr.record using channelid (ie request the channel name and it returns with recording channel name and starts the kodi action) but whichever combination i use in the string, the py executes and returns a positive log but kodi doesn't actually perform the recording action. I'm not sure there are any more combinations to try or a simple one I'm not seeing - either would put me out of my misery!
Below is the principle, but also tried combo of "channel", "current" parameters (channelid is defined elsewhere)
{"jsonrpc": "2.0", "method": "PVR.Record", "params": { "record": "toggle", "channelid": channelid }
For the full .py please see my repos on github; https://github.com/fb42000/kodi-voice/bl...ce/kodi.py
I am trying to form an RPCString in python to call from kodi voice pvr.record using channelid (ie request the channel name and it returns with recording channel name and starts the kodi action) but whichever combination i use in the string, the py executes and returns a positive log but kodi doesn't actually perform the recording action. I'm not sure there are any more combinations to try or a simple one I'm not seeing - either would put me out of my misery!
Below is the principle, but also tried combo of "channel", "current" parameters (channelid is defined elsewhere)
{"jsonrpc": "2.0", "method": "PVR.Record", "params": { "record": "toggle", "channelid": channelid }
For the full .py please see my repos on github; https://github.com/fb42000/kodi-voice/bl...ce/kodi.py