Results 1 to 2 of 2

Thread: Boxee JSON RPC API - Shutdown/Reboot/Hibernate methods

  1. #1
    Join Date
    Oct 2011
    Posts
    2

    Exclamation Boxee JSON RPC API - Shutdown/Reboot/Hibernate methods

    Hello Boxee Team,

    Is there a reason why I am unable to call System.Shutdown, System.Reboot and System.Hibernate via JSON RPC API even though required permissions are assigned to session ?

    I always get the same infamous return code on all of the methods ""code":-32100,"message":"Failed to execute method."

    Perhaps you didn't implemented these JSON methods yet or maybe am I using them incorrectly ?

    The XBMC/Boxee JSON API library look promising but please don't tell me you are restricting the API System class methods for whatever reason ... Having the ability to power on, power off or suspend my boxee using a remote device using JSON is necessary. It cannot be optional for a product like Boxee. Especially when you don't provide native IR support.

    Thanks.

    {"jsonrpc": "2.0", "method": "Device.Connect", "params":{"deviceid": "aremote"}, "id": 1}

    {"id":1,"jsonrpc":"2.0","result":{"success":tru e}}

    {"jsonrpc": "2.0", "method": "JSONRPC.Ping","id": 1}
    {"id":1,"jsonrpc":"2.0","result":"pong"}

    {"jsonrpc": "2.0", "method": "JSONRPC.Permission","id": 1}
    {"id":1,"jsonrpc":"2.0","result":{"ControlNotify": true,"ControlPlayback":true,"ControlPower":true,"GUI":true,"Logging":true,"ReadData":true,"ScanLi brary":true}}


    {"jsonrpc": "2.0", "method": "System.Reboot","id": 1}
    {"error":{"code":-32100,"message":"Failed to execute method."},"id":1,"jsonrpc":"2.0"}

    {"id":1,"jsonrpc":"2.0","result":{"system.canreboo t":false,"system.canshutdown":false,"system.cansus pend":false}}
    Last edited by Mynameis; October 18th, 2011 at 07:34 PM.

  2. #2
    Join Date
    Oct 2011
    Posts
    2

    Default nevermind

    Boxee team, nevermind your product is back on the shelves at the store. Not for me...

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •