% endif
@@ -87,7 +88,13 @@ DOCUMENTATION :: END
% if stat_id in ('top_music', 'popular_music'):
% endif
- <% height, type = ('300', 'cover') if stat_id in ('top_music', 'popular_music') else ('450', 'poster') %>
+ <%
+ height, type = ('450', 'poster')
+ if stat_id in ('top_music', 'popular_music'):
+ height, type = ('300', 'cover')
+ elif row0['live']:
+ height, type = ('450', 'poster-live')
+ %>
<% href = 'info?rating_key={}'.format(row0['rating_key']) if row0['rating_key'] else '#' %>
% if row0['thumb']:
@@ -129,7 +136,7 @@ DOCUMENTATION :: END
+ data-last_watch="${row.get('last_watch')}" data-started="${row.get('started')}" data-live="${row.get('live')}">
${loop.index + 1}
% if stat_id in ('top_movies', 'popular_movies', 'top_tv', 'popular_tv', 'top_music', 'popular_music', 'last_watched'):
@@ -171,7 +178,7 @@ DOCUMENTATION :: END
% endif
% endfor