2010-12-01, 23:34
MKay Wrote:I think genres will not be available via JSON-API before Eden: click me
But maybe i can use a work around. We will see
LoL, now i see that there is a ' missing after "username:password". So the correct command is:Code:curl -u 'username:password' -i -X POST -d '{"jsonrpc": "2.0", "method": "VideoLibrary.GetTVShows", "params": { "start": 0, "fields": ["genre", "director", "plot", "title", "originaltitle", "runtime", "year", "rating"] }, "id": 1}' http://your_xbmc_host/jsonrpc
sorry for late reply, works great with last version