Expected behaviour:
Updates should work
Actual behaviour:
Error message: JSONRPC failed. Error -32099: Bad client permission
Steps to reproduce:
- Step 1: Call a kodi library scan from a task
Config:
kodi_library:
action: scan
category: video
url: http://192.168.1.214
port: 80
Details
The kodi API has been changed in v18 Leia and up. In the old API, all requests were HTTP GET (even API calls that update/mutate state). They've finally updated the API to require HTTP POST for updates, but they've completely failed to update the API version or even provide sensible error messages.
https://forum.kodi.tv/showthread.php?tid=324598
https://discuss.flexget.com/t/kodi-plugin-not-working-on-kodi-18/4196
NOTE: I no longer use Kodi, so I'm simply creating an issue based on a forum post to keep track of the issue in case other users begin to experience it.