2013-09-25, 15:03
Guess it's not possible as I found this code in service.skin.widgets :
And as Martijn did not call this function any more, I guess it cost some CPU time
Code:
def _fetch_seasonthumb(self, tvshowid, seasonnumber):
json_query = xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "VideoLibrary.GetSeasons", "params": {"properties": ["season", "thumbnail"], "tvshowid":%s }, "id": 1}' % tvshowid)
json_query = unicode(json_query, 'utf-8', errors='ignore')
json_query = simplejson.loads(json_query)
if json_query.has_key('result') and json_query['result'].has_key('seasons'):
for item in json_query['result']['seasons']:
season = "%.2d" % float(item['season'])
if season == seasonnumber:
thumbnail = item['thumbnail']
return thumbnail
And as Martijn did not call this function any more, I guess it cost some CPU time