mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix artwork
Prevent artwork type not supported from syncing
This commit is contained in:
parent
75a877ee9e
commit
2d636d5b2d
1 changed files with 2 additions and 1 deletions
|
@ -162,7 +162,8 @@ class TextureCache():
|
|||
for artType in kodiart[art]:
|
||||
self.addOrUpdateArt(artwork[art], kodiId, mediaType, artType, cursor)
|
||||
|
||||
else: # For banner, logo, art, thumb, disc
|
||||
elif kodiart.get(art): # For banner, logo, art, thumb, disc
|
||||
# Only process artwork type that Kodi can use
|
||||
self.addOrUpdateArt(artwork[art], kodiId, mediaType, kodiart[art], cursor)
|
||||
|
||||
def addOrUpdateArt(self, imageUrl, kodiId, mediaType, imageType, cursor):
|
||||
|
|
Loading…
Reference in a new issue