Add default value for mediatype

The cover art should only affect primary posters for video library,
nothing else.
This commit is contained in:
angelblue05 2015-06-29 13:14:54 -05:00
parent 7dfe572a2c
commit 26448574d4

View file

@ -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")