jahschwa / sibyl

a python chatbot with a focus on XBMC
GNU General Public License v3.0
7 stars 6 forks source link

xbmc: Bad client permission #72

Closed jahschwa closed 4 years ago

jahschwa commented 4 years ago

Apparently Kodi disabled GET requests for action endpoints:

Fix is to switch to POST:

(09:59:49 PM) user: !audio FILENAME
(09:59:49 PM) sibyl: Unable to open: FILENAME
(11:42:58 AM) user: !xbmc Playlist.Add {"playlistid":0, "item": {"file":"FILEPATH"}}
(11:42:59 AM) sibyl: {u'message': u'Bad client permission.', u'code': -32099}