mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-27 03:06:10 +00:00
Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi
This commit is contained in:
commit
d6478befdb
1 changed files with 2 additions and 2 deletions
|
@ -268,9 +268,9 @@ def getExtraFanArt():
|
||||||
item = ReadEmbyDB().getFullItem(embyId)
|
item = ReadEmbyDB().getFullItem(embyId)
|
||||||
if item != None:
|
if item != None:
|
||||||
if item.has_key("BackdropImageTags"):
|
if item.has_key("BackdropImageTags"):
|
||||||
if(len(item["BackdropImageTags"]) > 1):
|
if(len(item["BackdropImageTags"]) > 0):
|
||||||
totalbackdrops = len(item["BackdropImageTags"])
|
totalbackdrops = len(item["BackdropImageTags"])
|
||||||
for index in range(1,totalbackdrops):
|
for index in range(0,totalbackdrops):
|
||||||
backgroundUrl = API().getArtwork(item, "Backdrop",str(index))
|
backgroundUrl = API().getArtwork(item, "Backdrop",str(index))
|
||||||
fanartFile = os.path.join(fanartDir,"fanart" + str(index) + ".jpg")
|
fanartFile = os.path.join(fanartDir,"fanart" + str(index) + ".jpg")
|
||||||
li = xbmcgui.ListItem(str(index), path=fanartFile)
|
li = xbmcgui.ListItem(str(index), path=fanartFile)
|
||||||
|
|
Loading…
Reference in a new issue