diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css
index 8f2dc4936..ca6fd5385 100644
--- a/dashboard-ui/css/librarybrowser.css
+++ b/dashboard-ui/css/librarybrowser.css
@@ -118,14 +118,14 @@
@media all and (min-width: 1600px) {
.ehsContent {
- width: 85%;
+ width: 92%;
}
}
@media all and (min-width: 1920px) {
.ehsContent {
- width: 90%;
+ width: 94%;
}
}
diff --git a/dashboard-ui/itemdetails.html b/dashboard-ui/itemdetails.html
index 05d6c4cb3..deec7cb2f 100644
--- a/dashboard-ui/itemdetails.html
+++ b/dashboard-ui/itemdetails.html
@@ -34,7 +34,7 @@
${TabLatest}
${TabSuggested}
${TabMovies}
- ${TabTrailers}
+ ${TabTrailers}
${TabCollections}
${TabGenres}
${TabPeople}
diff --git a/dashboard-ui/movietrailers.html b/dashboard-ui/movietrailers.html
index 2729b27af..35e50ff32 100644
--- a/dashboard-ui/movietrailers.html
+++ b/dashboard-ui/movietrailers.html
@@ -24,13 +24,6 @@
-
-
-
-
-
-
-
${MessageNoTrailersFound}
diff --git a/dashboard-ui/scripts/itemdetailpage.js b/dashboard-ui/scripts/itemdetailpage.js
index 178a36485..a60b326dc 100644
--- a/dashboard-ui/scripts/itemdetailpage.js
+++ b/dashboard-ui/scripts/itemdetailpage.js
@@ -248,13 +248,17 @@
$('a', elem).removeClass('ui-btn-active');
$('.lnkHomeLatest', page).addClass('ui-btn-active');
}
- else if (context == 'movies' || item.Type == 'Movie') {
+ else if (context == 'movies' || item.Type == 'Movie' || context == 'movies-trailers') {
elem = $('#movieTabs', page).show();
$('a', elem).removeClass('ui-btn-active');
if (item.Type == 'BoxSet') {
$('.lnkCollections', page).addClass('ui-btn-active');
- } else {
+ }
+ else if (context == 'movies-trailers') {
+ $('.lnkMovieTrailers', page).addClass('ui-btn-active');
+ }
+ else {
$('.lnkMovies', page).addClass('ui-btn-active');
}
}
diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js
index 811897d31..05cf0db28 100644
--- a/dashboard-ui/scripts/librarybrowser.js
+++ b/dashboard-ui/scripts/librarybrowser.js
@@ -486,7 +486,7 @@
}
if (item.CollectionType == 'trailers') {
- return 'movietrailers.html?topParentId=' + item.Id;
+ return "itemlist.html?parentId=" + item.Id;
}
if (item.CollectionType == 'movies') {
diff --git a/dashboard-ui/scripts/movietrailers.js b/dashboard-ui/scripts/movietrailers.js
index e432f73bd..8db4908a4 100644
--- a/dashboard-ui/scripts/movietrailers.js
+++ b/dashboard-ui/scripts/movietrailers.js
@@ -42,8 +42,7 @@
limit: query.Limit,
totalRecordCount: result.TotalRecordCount,
viewButton: true,
- showLimit: false,
- addSelectionButton: true
+ showLimit: false
});
$('.listTopPaging', page).html(pagingHtml).trigger('create');
@@ -55,8 +54,7 @@
items: result.Items,
shape: "backdrop",
preferThumb: true,
- context: 'movies',
- selectionPanel: true,
+ context: 'movies-trailers',
lazy: true,
overlayText: true
});
@@ -68,7 +66,7 @@
items: result.Items,
shape: "banner",
preferBanner: true,
- context: 'movies',
+ context: 'movies-trailers',
lazy: true
});
$('.itemsContainer', page).removeClass('timelineItemsContainer');
@@ -77,7 +75,7 @@
html = LibraryBrowser.getListViewHtml({
items: result.Items,
- context: 'movies',
+ context: 'movies-trailers',
sortBy: query.SortBy
});
$('.itemsContainer', page).removeClass('timelineItemsContainer');
@@ -86,10 +84,9 @@
html = LibraryBrowser.getPosterViewHtml({
items: result.Items,
shape: "portrait",
- context: 'movies',
+ context: 'movies-trailers',
showTitle: false,
centerText: true,
- selectionPanel: true,
lazy: true,
overlayText: true
});
@@ -99,11 +96,10 @@
html = LibraryBrowser.getPosterViewHtml({
items: result.Items,
shape: "portrait",
- context: 'movies',
+ context: 'movies-trailers',
showTitle: true,
timeline: true,
centerText: true,
- selectionPanel: true,
lazy: true
});
$('.itemsContainer', page).addClass('timelineItemsContainer');
diff --git a/dashboard-ui/thirdparty/apiclient/mediabrowser.apiclient.js b/dashboard-ui/thirdparty/apiclient/mediabrowser.apiclient.js
index 0826747b0..4eb3a56f0 100644
--- a/dashboard-ui/thirdparty/apiclient/mediabrowser.apiclient.js
+++ b/dashboard-ui/thirdparty/apiclient/mediabrowser.apiclient.js
@@ -114,7 +114,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
self.encodeName = function (name) {
name = name.split('/').join('-');
-
+ name = name.split('&').join('-');
name = name.split('?').join('-');
var val = $.param({ name: name });