';
html += '';
if (cast.PrimaryImageTag) {
diff --git a/dashboard-ui/scripts/moviegenres.js b/dashboard-ui/scripts/moviegenres.js
index 439dabecb..235075e0c 100644
--- a/dashboard-ui/scripts/moviegenres.js
+++ b/dashboard-ui/scripts/moviegenres.js
@@ -26,7 +26,8 @@
items: result.Items,
useAverageAspectRatio: true,
countNameSingular: "Movie",
- countNamePlural: "Movies"
+ countNamePlural: "Movies",
+ context: "movies"
});
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);
diff --git a/dashboard-ui/scripts/moviepeople.js b/dashboard-ui/scripts/moviepeople.js
index d033aa611..7254cf3f0 100644
--- a/dashboard-ui/scripts/moviepeople.js
+++ b/dashboard-ui/scripts/moviepeople.js
@@ -27,7 +27,8 @@
items: result.Items,
useAverageAspectRatio: true,
countNameSingular: "Movie",
- countNamePlural: "Movies"
+ countNamePlural: "Movies",
+ context: "movies"
});
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);
diff --git a/dashboard-ui/scripts/movies.js b/dashboard-ui/scripts/movies.js
index 4005f12fa..bc1c9ae07 100644
--- a/dashboard-ui/scripts/movies.js
+++ b/dashboard-ui/scripts/movies.js
@@ -28,13 +28,15 @@
html += LibraryBrowser.getPosterDetailViewHtml({
items: result.Items,
useAverageAspectRatio: true,
- preferBackdrop: true
+ preferBackdrop: true,
+ context: "movies"
});
}
else if (view == "Poster") {
html += LibraryBrowser.getPosterDetailViewHtml({
items: result.Items,
- useAverageAspectRatio: true
+ useAverageAspectRatio: true,
+ context: "movies"
});
}
diff --git a/dashboard-ui/scripts/moviestudios.js b/dashboard-ui/scripts/moviestudios.js
index 15e7475ae..e9c041e3a 100644
--- a/dashboard-ui/scripts/moviestudios.js
+++ b/dashboard-ui/scripts/moviestudios.js
@@ -26,7 +26,8 @@
items: result.Items,
useAverageAspectRatio: true,
countNameSingular: "Movie",
- countNamePlural: "Movies"
+ countNamePlural: "Movies",
+ context: "movies"
});
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);
diff --git a/dashboard-ui/scripts/movietrailers.js b/dashboard-ui/scripts/movietrailers.js
index d3d2bfc08..968b34ee6 100644
--- a/dashboard-ui/scripts/movietrailers.js
+++ b/dashboard-ui/scripts/movietrailers.js
@@ -28,13 +28,15 @@
html += LibraryBrowser.getPosterDetailViewHtml({
items: result.Items,
useAverageAspectRatio: true,
- preferBackdrop: true
+ preferBackdrop: true,
+ context: "movies"
});
}
else if (view == "Poster") {
html += LibraryBrowser.getPosterDetailViewHtml({
items: result.Items,
- useAverageAspectRatio: true
+ useAverageAspectRatio: true,
+ context: "movies"
});
}
diff --git a/dashboard-ui/scripts/musicalbums.js b/dashboard-ui/scripts/musicalbums.js
index 7e5189b78..718ff17db 100644
--- a/dashboard-ui/scripts/musicalbums.js
+++ b/dashboard-ui/scripts/musicalbums.js
@@ -24,7 +24,8 @@
html += LibraryBrowser.getPosterDetailViewHtml({
items: result.Items,
- useAverageAspectRatio: true
+ useAverageAspectRatio: true,
+ context: "music"
});
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);
diff --git a/dashboard-ui/scripts/musicartists.js b/dashboard-ui/scripts/musicartists.js
index c547e21f3..f08541fea 100644
--- a/dashboard-ui/scripts/musicartists.js
+++ b/dashboard-ui/scripts/musicartists.js
@@ -27,7 +27,8 @@
useAverageAspectRatio: true,
countNameSingular: "Song",
countNamePlural: "Songs",
- preferBackdrop: true
+ preferBackdrop: true,
+ context: "music"
});
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);
diff --git a/dashboard-ui/scripts/musicgenres.js b/dashboard-ui/scripts/musicgenres.js
index 19afb1ecc..667223e76 100644
--- a/dashboard-ui/scripts/musicgenres.js
+++ b/dashboard-ui/scripts/musicgenres.js
@@ -26,7 +26,8 @@
items: result.Items,
useAverageAspectRatio: true,
countNameSingular: "Song",
- countNamePlural: "Songs"
+ countNamePlural: "Songs",
+ context: "music"
});
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);
diff --git a/dashboard-ui/scripts/tvgenres.js b/dashboard-ui/scripts/tvgenres.js
index 179c05725..10f121e1e 100644
--- a/dashboard-ui/scripts/tvgenres.js
+++ b/dashboard-ui/scripts/tvgenres.js
@@ -26,7 +26,8 @@
items: result.Items,
useAverageAspectRatio: true,
countNameSingular: "Show",
- countNamePlural: "Shows"
+ countNamePlural: "Shows",
+ context: "tv"
});
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);
diff --git a/dashboard-ui/scripts/tvpeople.js b/dashboard-ui/scripts/tvpeople.js
index 5ba2f92f3..498983d14 100644
--- a/dashboard-ui/scripts/tvpeople.js
+++ b/dashboard-ui/scripts/tvpeople.js
@@ -27,7 +27,8 @@
items: result.Items,
useAverageAspectRatio: true,
countNameSingular: "Show",
- countNamePlural: "Shows"
+ countNamePlural: "Shows",
+ context: "tv"
});
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);
diff --git a/dashboard-ui/scripts/tvshows.js b/dashboard-ui/scripts/tvshows.js
index 17bc77857..f3cd8cd6c 100644
--- a/dashboard-ui/scripts/tvshows.js
+++ b/dashboard-ui/scripts/tvshows.js
@@ -28,13 +28,15 @@
html += LibraryBrowser.getPosterDetailViewHtml({
items: result.Items,
useAverageAspectRatio: true,
- preferBackdrop: true
+ preferBackdrop: true,
+ context: "tv"
});
}
else if (view == "Poster") {
html += LibraryBrowser.getPosterDetailViewHtml({
items: result.Items,
- useAverageAspectRatio: true
+ useAverageAspectRatio: true,
+ context: "tv"
});
}
diff --git a/dashboard-ui/scripts/tvstudios.js b/dashboard-ui/scripts/tvstudios.js
index 27a5926d4..b3961addc 100644
--- a/dashboard-ui/scripts/tvstudios.js
+++ b/dashboard-ui/scripts/tvstudios.js
@@ -26,7 +26,8 @@
items: result.Items,
useAverageAspectRatio: true,
countNameSingular: "Show",
- countNamePlural: "Shows"
+ countNamePlural: "Shows",
+ context: "tv"
});
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);