From 26f10b2c3d9abb0e79c9de99196451b5223d50db Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sat, 15 Feb 2020 14:36:51 -0800 Subject: [PATCH] Add poster to activity card for Live TV movies --- .../interfaces/default/current_activity_instance.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/data/interfaces/default/current_activity_instance.html b/data/interfaces/default/current_activity_instance.html index 4e0b609a..66925d9f 100644 --- a/data/interfaces/default/current_activity_instance.html +++ b/data/interfaces/default/current_activity_instance.html @@ -96,10 +96,13 @@ DOCUMENTATION :: END
% endif % if data['live'] == 1: - % if data['grandparent_thumb'].startswith('http'): -
- % elif data['grandparent_thumb']: -
+ <% + live_thumb = data['grandparent_thumb'] or data['thumb'] + %> + % if live_thumb.startswith('http'): +
+ % elif live_thumb: +
% else:
% endif