From 1e6afbafface03a0ea367706444bc68eed3d3620 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 29 Dec 2013 01:36:13 -0500 Subject: [PATCH] support manual downloading of studio images --- dashboard-ui/scripts/librarybrowser.js | 4 +--- dashboard-ui/scripts/tvstudios.js | 9 ++++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 88ce3e6cd4..87416d1132 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -843,10 +843,8 @@ else { if (item.Name && options.showTitle) { imgUrl = 'css/images/items/list/collection.png'; - background = LibraryBrowser.getMetroColor(item.Id); - } else { - background = defaultBackground; } + background = defaultBackground; } diff --git a/dashboard-ui/scripts/tvstudios.js b/dashboard-ui/scripts/tvstudios.js index eb3324a249..0160d3b140 100644 --- a/dashboard-ui/scripts/tvstudios.js +++ b/dashboard-ui/scripts/tvstudios.js @@ -29,10 +29,13 @@ var checkSortOption = $('.radioSortBy:checked', page); $('.viewSummary', page).html(LibraryBrowser.getViewSummaryHtml(query, checkSortOption)).trigger('create'); - html += LibraryBrowser.getPosterDetailViewHtml({ + html += LibraryBrowser.getPosterViewHtml({ items: result.Items, - context: "tv", - shape: "backdrop" + useAverageAspectRatio: true, + shape: "backdrop", + showTitle: false, + overlayText: false, + context: 'tv' }); html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);