diff --git a/dashboard-ui/scripts/Itemdetailpage.js b/dashboard-ui/scripts/Itemdetailpage.js index 2fe9ae3dfd..52ccec97dc 100644 --- a/dashboard-ui/scripts/Itemdetailpage.js +++ b/dashboard-ui/scripts/Itemdetailpage.js @@ -541,22 +541,22 @@ }); if (item.Type == "Season") { - $('#childrenTitle', page).html('Episodes (' + item.ChildCount + ')'); + $('#childrenTitle', page).html('Episodes'); } else if (item.Type == "Series") { - $('#childrenTitle', page).html('Seasons (' + item.SeasonCount + ')'); + $('#childrenTitle', page).html('Seasons'); } else if (item.Type == "BoxSet") { - $('#childrenTitle', page).html('Movies (' + item.ChildCount + ')'); + $('#childrenTitle', page).html('Movies'); } else if (item.Type == "MusicAlbum") { - $('#childrenTitle', page).html('Tracks (' + item.ChildCount + ')'); + $('#childrenTitle', page).html('Tracks'); } else if (item.Type == "GameSystem") { - $('#childrenTitle', page).html('Games (' + item.ChildCount + ')'); + $('#childrenTitle', page).html('Games'); } else { - $('#childrenTitle', page).html('Items (' + item.ChildCount + ')'); + $('#childrenTitle', page).html('Items'); } } function renderUserDataIcons(page, item) { diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index f34c655f1c..e7e7c37258 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -1111,6 +1111,11 @@ return 1; } + // If really close to 4:3 (poster image), just return 2:3 + if (Math.abs(1.33333333333 - result) <= .05) { + return 1.33333333333; + } + return result; }, diff --git a/dashboard-ui/scripts/tvupcoming.js b/dashboard-ui/scripts/tvupcoming.js index cada91c589..300de944a6 100644 --- a/dashboard-ui/scripts/tvupcoming.js +++ b/dashboard-ui/scripts/tvupcoming.js @@ -4,11 +4,9 @@ var page = this; - var now = new Date(); - var options = { - SortBy: "PremiereDate,AirTime", + SortBy: "PremiereDate,AirTime,SortName", SortOrder: "Ascending", IncludeItemTypes: "Episode", Limit: 30,