Kodi Community Forum

Full Version: Trying to use Home assistant to send a command
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i am trying to send the below to kodi via home assistant 

{
  "method": "VideoLibrary.Export",
  "params": {
    "options": {
      "overwrite": true,
      "actorthumbs": false,
      "images": false
    }
  },
  "id": 1,
  "entity_id": "media_player.kodi"
}

it sends but doesn't work and i get this in the debug console


Run API method media_player.kodi.VideoLibrary.Export({'params': {'options': {'overwrite': True, 'actorthumbs': False, 'images': False}}, 'id': 1}) error: {'code': -32602, 'data': {'message': 'Too many parameters', 'method': 'VideoLibrary.Export'}, 'message': 'Invalid params.'}

i guessing the formatting is off? but i have tried for 3 hours so far and became stuck Sad