Add new Live TV art fallback for info page

This commit is contained in:
JonnyWong16 2020-02-22 12:42:40 -08:00
parent 2c45de1fe5
commit 22a6bae4cf
5 changed files with 9 additions and 6 deletions

View file

@ -4072,7 +4072,7 @@ class WebInterface(object):
return_hash = (kwargs.get('return_hash') == 'true')
if rating_key and not img:
if fallback in ('art', 'art-live'):
if fallback and fallback.startswith('art'):
img = '/library/metadata/{}/art'.format(rating_key)
else:
img = '/library/metadata/{}/thumb'.format(rating_key)