mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 01:36:11 +00:00
backdrop fix for albums/songs
This commit is contained in:
parent
037376dea3
commit
0923b649e7
2 changed files with 4 additions and 2 deletions
|
@ -332,7 +332,7 @@ class API():
|
|||
if(data.get("ImageTags") != None and data.get("ImageTags").get(type) != None):
|
||||
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")
|
||||
if (data.get("Type") == "Episode" or data.get("Type") == "Season") and type=="Art":
|
||||
imageTag = data.get("ParentArtImageTag")
|
||||
|
@ -341,6 +341,8 @@ class API():
|
|||
if (data.get("Type") == "Season") and originalType=="Thumb3" and imageTag=="e3ab56fe27d389446754d0fb04910a34" :
|
||||
imageTag = data.get("ParentThumbImageTag")
|
||||
id = data.get("SeriesId")
|
||||
if (data.get("Type") == "MusicAlbum" or data.get("Type") == "Audio") and type=="Backdrop":
|
||||
id = data.get("ParentBackdropItemId")
|
||||
|
||||
query = ""
|
||||
height = "10000"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#################################################################################################
|
||||
# WriteKodiVideoDB
|
||||
# WriteKodiMusicDB
|
||||
#################################################################################################
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue