From 924c3a4a0549b0ed0069365b69f0935d0a6f4dec Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Mon, 20 Jun 2016 14:04:10 -0500 Subject: [PATCH] Fix arguments --- resources/lib/artwork.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/resources/lib/artwork.py b/resources/lib/artwork.py index fab75b6b..f2cd0a32 100644 --- a/resources/lib/artwork.py +++ b/resources/lib/artwork.py @@ -356,10 +356,10 @@ class Artwork(): index = "" for backdrop in backdrops: self.addOrUpdateArt( - image_url=backdrop, - kodi_id=kodiId, - media_type=mediaType, - image_type="%s%s" % ("fanart", index), + imageUrl=backdrop, + kodiId=kodiId, + mediaType=mediaType, + imageType="%s%s" % ("fanart", index), cursor=cursor) if backdropsNumber > 1: @@ -372,19 +372,19 @@ class Artwork(): # Primary art is processed as thumb and poster for Kodi. for artType in kodiart[art]: self.addOrUpdateArt( - image_url=artwork[art], - kodi_id=kodiId, - media_type=mediaType, - image_type=artType, + imageUrl=artwork[art], + kodiId=kodiId, + mediaType=mediaType, + imageType=artType, cursor=cursor) elif kodiart.get(art): # Process the rest artwork type that Kodi can use self.addOrUpdateArt( - image_url=artwork[art], - kodi_id=kodiId, - media_type=mediaType, - image_type=kodiart[art], + imageUrl=artwork[art], + kodiId=kodiId, + mediaType=mediaType, + imageType=kodiart[art], cursor=cursor) def addOrUpdateArt(self, imageUrl, kodiId, mediaType, imageType, cursor):