2019-04-03, 23:24
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
{
"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