2013-06-15, 05:55
I am using jsonrpclib which I patched to give the correct UI. I can use it great for reading information getting lists of files and other read only actions. However I cannot figure out the enigma that is Player.open() I have tried about twenty different ways to pass a file name or episode ID to that function so that it starts to play the given file. However regardless of what I attempt I always get jsonrpclib.jsonrpc.ProtocolError: (-32602, u'Invalid params.') http://wiki.xbmc.org/index.php?title=JSO...layer.Open is utterly useless as there are no examples.
right now I use:
server.VideoLibrary.GetEpisodes(x['tvshowid'],<SEASON_NUMBER>,[LIST OF FIELDS I WANT RETURNED])
for working with episodes and its flawless but for some reason I cannot get the play to work.
right now I use:
server.VideoLibrary.GetEpisodes(x['tvshowid'],<SEASON_NUMBER>,[LIST OF FIELDS I WANT RETURNED])
for working with episodes and its flawless but for some reason I cannot get the play to work.