Fix fanart

This commit is contained in:
angelblue05 2015-12-26 03:09:47 -06:00
parent 7b2d67a8bf
commit 7b3aae2d83
2 changed files with 23 additions and 12 deletions

View file

@ -799,7 +799,10 @@ def getExtraFanArt():
if any([x in itemPath for x in ['tvshows', 'musicvideos', 'movies']]):
params = urlparse.parse_qs(itemPath)
embyId = params['id'][0]
try:
embyId = params['id'][0]
except KeyError:
embyId = itemPath.split("/")[-2]
utils.logMsg("EMBY", "Requesting extrafanart for Id: %s" % embyId, 1)