From 26448574d413d958e3a40aed7b7cfe009cce86f9 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Mon, 29 Jun 2015 13:14:54 -0500 Subject: [PATCH] Add default value for mediatype The cover art should only affect primary posters for video library, nothing else. --- resources/lib/API.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/API.py b/resources/lib/API.py index 9f5bf878..cfc7a210 100644 --- a/resources/lib/API.py +++ b/resources/lib/API.py @@ -316,7 +316,7 @@ class API(): tempDate = "01.01.2000" return tempDate - def getArtwork(self, data, type, mediaType, index = "0", userParentInfo = False): + def getArtwork(self, data, type, mediaType = "", index = "0", userParentInfo = False): addonSettings = xbmcaddon.Addon(id='plugin.video.emby') id = data.get("Id")