retrieve banner art when available

This commit is contained in:
im85288 2016-04-15 12:22:56 +01:00
parent f3d530f718
commit cbe3a28660

View file

@ -1846,6 +1846,14 @@ class API():
primary = ""
allartworks['Primary'] = primary
try:
banner = item['banner']
banner = "%s%s" % (self.server, banner)
banner = self.addPlexCredentialsToUrl(banner)
except KeyError:
banner = ""
allartworks['Banner'].append(banner)
# Process parent items if the main item is missing artwork
if parentInfo:
# Process parent backdrops