diff --git a/dashboard-ui/musicrecommended.html b/dashboard-ui/musicrecommended.html index 8cafdd8bc6..b579247d75 100644 --- a/dashboard-ui/musicrecommended.html +++ b/dashboard-ui/musicrecommended.html @@ -22,14 +22,12 @@
Use path substitution to map server paths to network shares that clients are able to access.
'; + if (addPathMappingInfo) { + html += 'Use path substitution to map server paths to network shares that clients are able to access.
'; + } html += ''; html += ''; diff --git a/dashboard-ui/scripts/moviesrecommended.js b/dashboard-ui/scripts/moviesrecommended.js index dc44bf8689..8a63dbf4bd 100644 --- a/dashboard-ui/scripts/moviesrecommended.js +++ b/dashboard-ui/scripts/moviesrecommended.js @@ -2,6 +2,8 @@ $(document).on('pagebeforeshow', "#moviesRecommendedPage", function () { + var screenWidth = $(window).width(); + var page = this; var options = { @@ -9,7 +11,7 @@ SortBy: "DateCreated", SortOrder: "Descending", IncludeItemTypes: "Movie", - Limit: 12, + Limit: screenWidth >= 1920 ? 14 : 12, Recursive: true, Fields: "PrimaryImageAspectRatio,DateCreated,UserData", Filters: "IsUnplayed" @@ -31,7 +33,7 @@ SortOrder: "Descending", IncludeItemTypes: "Movie", Filters: "IsResumable", - Limit: 3, + Limit: screenWidth >= 1920 ? 4 : 3, Recursive: true, Fields: "DateCreated,UserData" }; @@ -61,7 +63,7 @@ SortBy: "DateCreated", SortOrder: "Descending", IncludeItemTypes: "Trailer", - Limit: 6, + Limit: screenWidth >= 1920 ? 7 : 6, Recursive: true, Fields: "PrimaryImageAspectRatio,DateCreated,UserData", Filters: "IsUnplayed" diff --git a/dashboard-ui/scripts/musicrecommended.js b/dashboard-ui/scripts/musicrecommended.js index a1a37d4883..a5b9bdf73f 100644 --- a/dashboard-ui/scripts/musicrecommended.js +++ b/dashboard-ui/scripts/musicrecommended.js @@ -85,7 +85,7 @@ SortBy: "PlayCount", SortOrder: "Descending", IncludeItemTypes: "Audio", - Limit: 5, + Limit: 10, Recursive: true, Fields: "PrimaryImageAspectRatio,AudioInfo", Filters: "IsPlayed"