mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Fix fanart
This commit is contained in:
parent
feea23e9da
commit
bf4c385283
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue