From d2922d61f5ab23824d23e193f4a7b36d0bb54e92 Mon Sep 17 00:00:00 2001 From: croneter Date: Thu, 22 Nov 2018 08:04:41 +0100 Subject: [PATCH] Fix AttributeError --- resources/lib/library_sync/fanart.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/resources/lib/library_sync/fanart.py b/resources/lib/library_sync/fanart.py index 5fbd344b..df167c4a 100644 --- a/resources/lib/library_sync/fanart.py +++ b/resources/lib/library_sync/fanart.py @@ -136,10 +136,9 @@ def process_fanart(plex_id, plex_type, refresh=False): if art in external_set_artwork: del external_set_artwork[art] with itemtypes.Movie(None) as movie: - movie.artwork.modify_artwork(external_set_artwork, - setid, - v.KODI_TYPE_SET, - movie.kodicursor) + movie.kodidb.modify_artwork(external_set_artwork, + setid, + v.KODI_TYPE_SET) done = True finally: if done is True: