diff --git a/ApiClient.js b/ApiClient.js index f56d3744be..be4267d3c6 100644 --- a/ApiClient.js +++ b/ApiClient.js @@ -1552,6 +1552,29 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) { }); }; + /** + Gets people from an item + */ + self.getPeople = function (userId, options) { + + if (!userId) { + throw new Error("null userId"); + } + + var parentId = options.parentId || "root"; + + // Don't put these on the query string + delete options.parentId; + + var url = self.getUrl("Users/" + userId + "/Items/" + parentId + "/Persons", options); + + return self.ajax({ + type: "GET", + url: url, + dataType: "json" + }); + }; + /** Gets studios from an item */ diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index 411a549b4e..ec52ca422b 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -251,6 +251,11 @@ .posterDetailViewImage { max-height: 140px; + max-width: 50%; + } + + .posterDetailViewContentContainer { + width: 47%; } .posterDetailViewItem .userDataIcons { diff --git a/dashboard-ui/moviegenres.html b/dashboard-ui/moviegenres.html index 01b34ba577..fd7254f30f 100644 --- a/dashboard-ui/moviegenres.html +++ b/dashboard-ui/moviegenres.html @@ -17,9 +17,54 @@ Studios