Eichhoernchen/SiriServer — Issue #302: XBMC plugin issues
Author: sygex
Created: 2012-02-18 07:27:14+00:00
State: open

Hey guys,

I am having problems with the XBMC plugin. Every time I run it a new error pops up. This one comes up everytime I say: xbmc play (movie name):

ERROR run Unexpected during plugin processing
Traceback (most recent call last):
File "/home/sygex/SiriServer/plugin.py", line 95, in run
self.__method(self, self.__speech, self.__lang)
File "/home/sygex/SiriServer/plugins/XBMC.py", line 149, in test2
xbmc.play(json,{'movieid': movieid})
File "/home/sygex/SiriServer/plugins/XBMC.py", line 41, in play
json.Playlist.Clear(playlistid=1)
File "/usr/local/lib/python2.7/dist-packages/jsonrpclib-0.1.3-py2.7.egg/jsonrpclib/jsonrpc.py", line 276, in __call__
return self.__send(self.__name, kwargs)
File "/usr/local/lib/python2.7/dist-packages/jsonrpclib-0.1.3-py2.7.egg/jsonrpclib/jsonrpc.py", line 225, in _request
check_for_errors(response)
File "/usr/local/lib/python2.7/dist-packages/jsonrpclib-0.1.3-py2.7.egg/jsonrpclib/jsonrpc.py", line 529, in check_for_errors
raise ProtocolError((code, message))
ProtocolError: (-32601, 'Method not found.')

The other error is when I say something like: xbmc play the trailer for alcatraz

ERROR run Unexpected during plugin processing
Traceback (most recent call last):
File "/home/sygex/SiriServer/plugin.py", line 95, in run
self.__method(self, self.__speech, self.__lang)
File "/home/sygex/SiriServer/plugins/XBMC.py", line 166, in test2
for tvshow in result['tvshows']:
KeyError: 'tvshows'

Btw it is the same with python2.6.