def get_show_details(show_id):
postdata = json.dumps({"jsonrpc": "2.0",
"id": 1,
'method': 'VideoLibrary.GetTVShowDetails',
"params": {
'tvshowid': show_id,
"properties": ["imdbnumber"]
}})
json_query = xbmc.executeJSONRPC(postdata)
json_query = unicode(json_query, 'utf-8', errors='ignore')
json_query = json.loads(json_query)['result']['tvshowdetails']
return json_query
评论列表
文章目录