2015-05-19, 21:08
I am running Kodi on a Mediacenter-PC that sometimes doesn't have a display (because the projector isn't switched on). In that case, I need to suspend or power off kodi from a smartphone remote.
Unfortunately, this works with neither Kore nor Yatse. Indeed, I can even issue the JSON request directly and nothing happens:
I am running the current stable version (ppa:team-xbmc/ppa) on KDE 5.3 @ KUbuntu 15.04. However, I am pretty sure I remember this behavior from XUbuntu 14.10.
Polkit is configured to allow a user-issued suspend and poweroff and Kodi DOES offer these points in the main interface and they definitely work.
Also nothing shows up in ~/.kodi/temp/kodi.log.
The PowerControl permission seems to be there:
Any ideas?
Unfortunately, this works with neither Kore nor Yatse. Indeed, I can even issue the JSON request directly and nothing happens:
Code:
curl -s --data-binary '{"jsonrpc": "2.0", "method": "System.Suspend", "id":1}' -H 'content-type: application/json;' http://192.168.3.154:8080/jsonrpc
{"id":1,"jsonrpc":"2.0","result":"OK"}
I am running the current stable version (ppa:team-xbmc/ppa) on KDE 5.3 @ KUbuntu 15.04. However, I am pretty sure I remember this behavior from XUbuntu 14.10.
Polkit is configured to allow a user-issued suspend and poweroff and Kodi DOES offer these points in the main interface and they definitely work.
Also nothing shows up in ~/.kodi/temp/kodi.log.
The PowerControl permission seems to be there:
Code:
curl -s --data-binary '{"jsonrpc": "2.0", "method": "JSONRPC.Permission", "id":1}' -H 'content-type: application/json;' http://192.168.3.154:8080/jsonrpc
{"id":1,"jsonrpc":"2.0","result":{"ControlGUI":true,"ControlNotify":true,"ControlPVR":true,"ControlPlayback":true,"ControlPower":true,"ControlSystem":true,"ExecuteAddon":true,"ManageAddon":true,"Navigate":true,"ReadData":true,"RemoveData":true,"UpdateData":true,"WriteFile":true}}