diff --git a/ApiClient.js b/ApiClient.js
index 9999c0fe0f..3c53077836 100644
--- a/ApiClient.js
+++ b/ApiClient.js
@@ -1733,7 +1733,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
});
};
- self.getVideoBackdrops = function (userId, itemId) {
+ self.getThemeVideos = function (userId, itemId) {
if (!userId) {
throw new Error("null userId");
@@ -1742,7 +1742,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
throw new Error("null itemId");
}
- var url = self.getUrl("Users/" + userId + "/Items/" + itemId + "/VideoBackdrops");
+ var url = self.getUrl("Users/" + userId + "/Items/" + itemId + "/ThemeVideos");
return self.ajax({
type: "GET",
diff --git a/dashboard-ui/css/posteritem.css b/dashboard-ui/css/posteritem.css
index 93646f2ad5..1ea96a043b 100644
--- a/dashboard-ui/css/posteritem.css
+++ b/dashboard-ui/css/posteritem.css
@@ -21,7 +21,7 @@
background-size: contain;
background-repeat: no-repeat;
background-position: center bottom;
- background-color: #000;
+ background-color: #333;
}
.transparentPosterItem .posterItemImage {
diff --git a/dashboard-ui/itemdetails.html b/dashboard-ui/itemdetails.html
index f429743365..d4f06c06b1 100644
--- a/dashboard-ui/itemdetails.html
+++ b/dashboard-ui/itemdetails.html
@@ -171,9 +171,9 @@
diff --git a/dashboard-ui/scripts/Itemdetailpage.js b/dashboard-ui/scripts/Itemdetailpage.js
index c8f1471999..0cb677d2f6 100644
--- a/dashboard-ui/scripts/Itemdetailpage.js
+++ b/dashboard-ui/scripts/Itemdetailpage.js
@@ -221,14 +221,14 @@
}
$('#themeSongsCollapsible', page).hide();
- $('#videoBackdropsCollapsible', page).hide();
+ $('#themeVideosCollapsible', page).hide();
ApiClient.getThemeSongs(Dashboard.getCurrentUserId(), item.Id).done(function (result) {
renderThemeSongs(page, item, result);
});
- ApiClient.getVideoBackdrops(Dashboard.getCurrentUserId(), item.Id).done(function (result) {
- renderVideoBackdrops(page, item, result);
+ ApiClient.getThemeVideos(Dashboard.getCurrentUserId(), item.Id).done(function (result) {
+ renderThemeVideos(page, item, result);
});
}
@@ -315,13 +315,13 @@
}
}
- function renderVideoBackdrops(page, item, result) {
+ function renderThemeVideos(page, item, result) {
if (result.Items.length) {
- $('#videoBackdropsCollapsible', page).show();
+ $('#themeVideosCollapsible', page).show();
- $('#videoBackdropsContent', page).html(getVideosHtml(result.Items)).trigger('create');
+ $('#themeVideosContent', page).html(getVideosHtml(result.Items)).trigger('create');
}
}
diff --git a/dashboard-ui/scripts/gamesrecommendedpage.js b/dashboard-ui/scripts/gamesrecommendedpage.js
index 37f77492e1..62ebfc51c5 100644
--- a/dashboard-ui/scripts/gamesrecommendedpage.js
+++ b/dashboard-ui/scripts/gamesrecommendedpage.js
@@ -20,7 +20,8 @@
$('#recentlyAddedItems', page).html(LibraryBrowser.getPosterViewHtml({
items: result.Items,
useAverageAspectRatio: true,
- showNewIndicator: false
+ showNewIndicator: false,
+ transparent: true
}));
});
@@ -40,7 +41,8 @@
$('#resumableItems', page).html(LibraryBrowser.getPosterViewHtml({
items: result.Items,
- useAverageAspectRatio: true
+ useAverageAspectRatio: true,
+ transparent: true
}));
});
diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js
index d5b60c11fc..8a50cb4d1c 100644
--- a/dashboard-ui/scripts/librarybrowser.js
+++ b/dashboard-ui/scripts/librarybrowser.js
@@ -163,6 +163,12 @@
html += '' + childText + '
';
}
+ else if (item.Type == "GamePlatform") {
+
+ childText = item.ChildCount == 1 ? "1 Game" : item.ChildCount + " Games";
+
+ html += '' + childText + '
';
+ }
else if (item.Type == "MusicAlbum") {
childText = item.ChildCount == 1 ? "1 Song" : item.ChildCount + " Songs";
@@ -425,7 +431,16 @@
}
}
- html += '';
+
+ var cssClass = "posterItem";
+
+ if (options.transparent) {
+ cssClass += " transparentPosterItem";
+ }
+
+ cssClass += ' ' + options.shape + 'PosterItem';
+
+ html += '';
var style = "";
@@ -1093,7 +1108,7 @@
else {
url = "css/images/items/detail/video.png";
useBackgroundColor = true;
- maxwidth = 150;
+ maxwidth = 150;p
}
if (url) {
diff --git a/packages.config b/packages.config
index 56ad5f6568..ef2a6b2f1d 100644
--- a/packages.config
+++ b/packages.config
@@ -1,6 +1,6 @@
-
+
\ No newline at end of file