+ <% fallback = 'art-live' if row0['live'] else row0['library_art'] %>
+
% elif stat_id == 'top_users':
% elif stat_id == 'top_platforms':
@@ -110,7 +111,7 @@ DOCUMENTATION :: END
% elif stat_id == 'top_libraries':
% if row0['thumb'].startswith('http'):
-
+
% else:
% endif
diff --git a/data/interfaces/default/index.html b/data/interfaces/default/index.html
index 88d973da..7ad9da3b 100644
--- a/data/interfaces/default/index.html
+++ b/data/interfaces/default/index.html
@@ -809,7 +809,7 @@
if (stat_id === 'most_concurrent') {
return
} else if (stat_id === 'top_libraries') {
- $('#stats-background-' + stat_id).css('background-image', 'url(' + page('pms_image_proxy', art || library_art, null, 500, 280, 40, '282828', 3, library_art || fallback_art) + ')');
+ $('#stats-background-' + stat_id).css('background-image', 'url(' + page('pms_image_proxy', art || library_art, null, 500, 280, 40, '282828', 3, fallback_art) + ')');
$('#stats-thumb-' + stat_id).removeClass(function (index, className) {
return (className.match (/(^|\s)svg-icon library-\S+/g) || []).join(' ')});
if (thumb.startsWith('http')) {
diff --git a/plexpy/datafactory.py b/plexpy/datafactory.py
index 8eb1d39c..62a4d9de 100644
--- a/plexpy/datafactory.py
+++ b/plexpy/datafactory.py
@@ -743,6 +743,8 @@ class DataFactory(object):
if item['custom_art'] and item['custom_art'] != item['library_art']:
library_art = item['custom_art']
+ elif item['library_art'] == common.DEFAULT_LIVE_TV_ART_FULL:
+ library_art = common.DEFAULT_LIVE_TV_ART
else:
library_art = item['library_art']