Fix fanart

This commit is contained in:
Matt 2020-11-17 19:06:24 -05:00
parent feea23e9da
commit bf4c385283

View file

@ -526,7 +526,7 @@ def get_fanart(item_id, path, server_id=None, api_client=None):
xbmcvfs.mkdirs(directory) xbmcvfs.mkdirs(directory)
item = api_client.get_item(item_id) item = api_client.get_item(item_id)
obj = objects.map(item, 'Artwork') obj = objects.map(item, 'Artwork')
backdrops = api.API(item, server).get_all_artwork(obj) backdrops = api.API(item).get_all_artwork(obj)
tags = obj['BackdropTags'] tags = obj['BackdropTags']
for index, backdrop in enumerate(backdrops): for index, backdrop in enumerate(backdrops):