Linux return info if recording
#1
hi, i been trying to find out a way to json rpc return if the xbmc is recording.

i built in a script so it do several checks to perform before suspend, but when we add a programed recording, when xbmc wakeups and start recording it doesnt actually play the recording so my script doesnt detect any activity by xbmc, so i need to check if pvr is recording.

can some post me the example with json rpc ?
Reply
#2
hey, pls some1 know command, i have searched and searched and i havent got any luck with pvr.getproperties, i just cant do the json request right :S
Reply
#3
Completely untested since I don't have a PVR backend
Code:
{ "jsonrpc": "2.0", "method": "PVR.GetProperties", "params": { "properties": [ "recording" ] }, "id": 1 }
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#4
Reply

Logout Mark Read Team Forum Stats Members Help
return info if recording0