MovieLib - Your movie database on web
JSON-RPC:

Code:
for id in toAddID:
            jsonGetMovieDetails = xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovieDetails", "params": {"properties": ["cast", "title", "plot", "rating", "year", "thumbnail", "fanart", "runtime", "genre", "director", "originaltitle", "country", "trailer", "playcount", "lastplayed", "dateadded", "streamdetails"], "movieid": ' + id + '}, "id": "1"}')
            jsonGetMovieDetails = unicode(jsonGetMovieDetails, 'utf-8', errors='ignore')
            jsonGetMovieDetailsResponse = json.loads(jsonGetMovieDetails)
            movie = jsonGetMovieDetailsResponse['result']['moviedetails']

print movie and you see array with all details.
Reply
 
Thread Rating:
  • 8 Vote(s) - 4.63 Average


Messages In This Thread
RE: MovieLib - Your movie database on web - by Regss - 2014-02-15, 21:50
Last Post - by Jeffreywat - 2017-09-03, 14:02


Logout Mark Read Team Forum Stats Members Help
MovieLib - Your movie database on web4.638