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]:
|
for artType in kodiart[art]:
|
||||||
self.addOrUpdateArt(artwork[art], kodiId, mediaType, artType, cursor)
|
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)
|
self.addOrUpdateArt(artwork[art], kodiId, mediaType, kodiart[art], cursor)
|
||||||
|
|
||||||
def addOrUpdateArt(self, imageUrl, kodiId, mediaType, imageType, cursor):
|
def addOrUpdateArt(self, imageUrl, kodiId, mediaType, imageType, cursor):
|
||||||
|
|
Loading…
Reference in a new issue