Fix artwork

Prevent artwork type not supported from syncing
This commit is contained in:
angelblue05 2015-10-11 23:41:55 -05:00
parent 75a877ee9e
commit 2d636d5b2d

View file

@ -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):