Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kodi API has been changed in v18 (Leia) such that HTTP POST is required #2210

Closed
cvium opened this issue Oct 3, 2018 · 0 comments · Fixed by #2271
Closed

Kodi API has been changed in v18 (Leia) such that HTTP POST is required #2210

cvium opened this issue Oct 3, 2018 · 0 comments · Fixed by #2271

Comments

@cvium
Copy link
Contributor

cvium commented Oct 3, 2018

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.

cvium pushed a commit that referenced this issue Dec 11, 2018
[fix] kodi: changed from GET to POST to accommodate v18 changes, fixes #2210
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant