Fix episode artwork sometimes not being complete

- Partially fixes #453
This commit is contained in:
Croneter 2018-04-20 07:41:59 +02:00
parent d4e15d6dfb
commit 00613e7ef5

View file

@ -772,9 +772,10 @@ class API(object):
# Artwork lookup for episodes is broken for addon paths # Artwork lookup for episodes is broken for addon paths
# Episodes is a bit special, only get the thumb, because all # Episodes is a bit special, only get the thumb, because all
# the other artwork will be saved under season and show # the other artwork will be saved under season and show
art = self._one_artwork('thumb') for kodi_artwork, plex_artwork in v.KODI_TO_PLEX_ARTWORK.iteritems():
art = self._one_artwork(plex_artwork)
if art: if art:
artworks['thumb'] = art artworks[kodi_artwork] = art
if full_artwork: if full_artwork:
with plexdb.Get_Plex_DB() as plex_db: with plexdb.Get_Plex_DB() as plex_db:
db_item = plex_db.getItem_byId(self.plex_id()) db_item = plex_db.getItem_byId(self.plex_id())