backdrop fix for albums/songs

This commit is contained in:
im85288 2015-05-11 14:02:34 +01:00
parent 037376dea3
commit 0923b649e7
2 changed files with 4 additions and 2 deletions

View File

@ -332,7 +332,7 @@ class API():
if(data.get("ImageTags") != None and data.get("ImageTags").get(type) != None): if(data.get("ImageTags") != None and data.get("ImageTags").get(type) != None):
imageTag = data.get("ImageTags").get(type) imageTag = data.get("ImageTags").get(type)
if (data.get("Type") == "Episode" or data.get("Type") == "Season" or data.get("Type") == "MusicAlbum") and type=="Logo": if (data.get("Type") == "Episode" or data.get("Type") == "Season" or data.get("Type") == "MusicAlbum" or data.get("Type") == "Audio") and type=="Logo":
imageTag = data.get("ParentLogoImageTag") imageTag = data.get("ParentLogoImageTag")
if (data.get("Type") == "Episode" or data.get("Type") == "Season") and type=="Art": if (data.get("Type") == "Episode" or data.get("Type") == "Season") and type=="Art":
imageTag = data.get("ParentArtImageTag") imageTag = data.get("ParentArtImageTag")
@ -341,6 +341,8 @@ class API():
if (data.get("Type") == "Season") and originalType=="Thumb3" and imageTag=="e3ab56fe27d389446754d0fb04910a34" : if (data.get("Type") == "Season") and originalType=="Thumb3" and imageTag=="e3ab56fe27d389446754d0fb04910a34" :
imageTag = data.get("ParentThumbImageTag") imageTag = data.get("ParentThumbImageTag")
id = data.get("SeriesId") id = data.get("SeriesId")
if (data.get("Type") == "MusicAlbum" or data.get("Type") == "Audio") and type=="Backdrop":
id = data.get("ParentBackdropItemId")
query = "" query = ""
height = "10000" height = "10000"

View File

@ -1,5 +1,5 @@
################################################################################################# #################################################################################################
# WriteKodiVideoDB # WriteKodiMusicDB
################################################################################################# #################################################################################################