diff --git a/dashboard-ui/itemdetails.html b/dashboard-ui/itemdetails.html
index 297e4887e7..3010694b8d 100644
--- a/dashboard-ui/itemdetails.html
+++ b/dashboard-ui/itemdetails.html
@@ -99,6 +99,7 @@
+
+
diff --git a/dashboard-ui/scripts/Itemdetailpage.js b/dashboard-ui/scripts/Itemdetailpage.js
index c05b95dff2..0965fc61c6 100644
--- a/dashboard-ui/scripts/Itemdetailpage.js
+++ b/dashboard-ui/scripts/Itemdetailpage.js
@@ -231,6 +231,18 @@
renderSeriesAirTime(page, item, context);
renderSimiliarItems(page, item);
+
+ if (item.Players) {
+ $('#players', page).show().html(item.Players + ' Player');
+ } else {
+ $('#players', page).hide();
+ }
+
+ if (item.Type == "Audio" && item.Artists && item.Artists.length) {
+ $('#artist', page).show().html('Artist:
' + item.Artists[0] + '').trigger('create');
+ } else {
+ $('#artist', page).hide();
+ }
}
function renderSimiliarItems(page, item) {
diff --git a/dashboard-ui/scripts/boxsets.js b/dashboard-ui/scripts/boxsets.js
index 31549e9c16..c3ec676413 100644
--- a/dashboard-ui/scripts/boxsets.js
+++ b/dashboard-ui/scripts/boxsets.js
@@ -113,13 +113,13 @@
$('.alphabetPicker', this).on('alphaselect', function (e, character) {
- query.NameStartsWith = character;
+ query.NameStartsWithOrGreater = character;
reloadItems(page);
}).on('alphaclear', function (e) {
- query.NameStartsWith = '';
+ query.NameStartsWithOrGreater = '';
reloadItems(page);
});
@@ -164,7 +164,7 @@
$('#chkThemeSong', this).checked(query.HasThemeSong == true).checkboxradio('refresh');
$('#chkThemeVideo', this).checked(query.HasThemeVideo == true).checkboxradio('refresh');
- $('.alphabetPicker', this).alphaValue(query.NameStartsWith);
+ $('.alphabetPicker', this).alphaValue(query.NameStartsWithOrGreater);
});
})(jQuery, document);
\ No newline at end of file
diff --git a/dashboard-ui/scripts/gamespage.js b/dashboard-ui/scripts/gamespage.js
index cc3a1a2a85..cda39d6cbf 100644
--- a/dashboard-ui/scripts/gamespage.js
+++ b/dashboard-ui/scripts/gamespage.js
@@ -154,13 +154,13 @@
$('.alphabetPicker', this).on('alphaselect', function (e, character) {
- query.NameStartsWith = character;
+ query.NameStartsWithOrGreater = character;
reloadItems(page);
}).on('alphaclear', function (e) {
- query.NameStartsWith = '';
+ query.NameStartsWithOrGreater = '';
reloadItems(page);
});
diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js
index 0474fa2bb6..0f83d30474 100644
--- a/dashboard-ui/scripts/librarybrowser.js
+++ b/dashboard-ui/scripts/librarybrowser.js
@@ -275,7 +275,7 @@
if (options.showArtist) {
- if (item.Artists && item.Artists.length) {
+ if (item.Artists && item.Artists.length && item.Artists[0]) {
var artist = item.Artists[0];
diff --git a/dashboard-ui/scripts/moviepeople.js b/dashboard-ui/scripts/moviepeople.js
index f2914cf978..25f847dab9 100644
--- a/dashboard-ui/scripts/moviepeople.js
+++ b/dashboard-ui/scripts/moviepeople.js
@@ -110,13 +110,13 @@
$('.alphabetPicker', this).on('alphaselect', function (e, character) {
- query.NameStartsWith = character;
+ query.NameStartsWithOrGreater = character;
reloadItems(page);
}).on('alphaclear', function (e) {
- query.NameStartsWith = '';
+ query.NameStartsWithOrGreater = '';
reloadItems(page);
});
@@ -157,7 +157,7 @@
}).checkboxradio('refresh');
- $('.alphabetPicker', this).alphaValue(query.NameStartsWith);
+ $('.alphabetPicker', this).alphaValue(query.NameStartsWithOrGreater);
});
})(jQuery, document);
\ No newline at end of file
diff --git a/dashboard-ui/scripts/movies.js b/dashboard-ui/scripts/movies.js
index fbbdc15bdb..3c98c6ae88 100644
--- a/dashboard-ui/scripts/movies.js
+++ b/dashboard-ui/scripts/movies.js
@@ -196,13 +196,13 @@
$('.alphabetPicker', this).on('alphaselect', function (e, character) {
- query.NameStartsWith = character;
+ query.NameStartsWithOrGreater = character;
reloadItems(page);
}).on('alphaclear', function (e) {
- query.NameStartsWith = '';
+ query.NameStartsWithOrGreater = '';
reloadItems(page);
});
@@ -262,7 +262,7 @@
$('#chkThemeSong', this).checked(query.HasThemeSong == true).checkboxradio('refresh');
$('#chkThemeVideo', this).checked(query.HasThemeVideo == true).checkboxradio('refresh');
- $('.alphabetPicker', this).alphaValue(query.NameStartsWith);
+ $('.alphabetPicker', this).alphaValue(query.NameStartsWithOrGreater);
});
diff --git a/dashboard-ui/scripts/movietrailers.js b/dashboard-ui/scripts/movietrailers.js
index 0425f592b8..859bb06575 100644
--- a/dashboard-ui/scripts/movietrailers.js
+++ b/dashboard-ui/scripts/movietrailers.js
@@ -108,13 +108,13 @@
$('.alphabetPicker', this).on('alphaselect', function (e, character) {
- query.NameStartsWith = character;
+ query.NameStartsWithOrGreater = character;
reloadItems(page);
}).on('alphaclear', function (e) {
- query.NameStartsWith = '';
+ query.NameStartsWithOrGreater = '';
reloadItems(page);
});
diff --git a/dashboard-ui/scripts/musicalbums.js b/dashboard-ui/scripts/musicalbums.js
index e02d0a2ec2..d1db2ea477 100644
--- a/dashboard-ui/scripts/musicalbums.js
+++ b/dashboard-ui/scripts/musicalbums.js
@@ -120,13 +120,13 @@
$('.alphabetPicker', this).on('alphaselect', function (e, character) {
- query.NameStartsWith = character;
+ query.NameStartsWithOrGreater = character;
reloadItems(page);
}).on('alphaclear', function (e) {
- query.NameStartsWith = '';
+ query.NameStartsWithOrGreater = '';
reloadItems(page);
});
diff --git a/dashboard-ui/scripts/musicartists.js b/dashboard-ui/scripts/musicartists.js
index 25bf2bf2cd..a1c9a8adf0 100644
--- a/dashboard-ui/scripts/musicartists.js
+++ b/dashboard-ui/scripts/musicartists.js
@@ -100,13 +100,13 @@
$('.alphabetPicker', this).on('alphaselect', function (e, character) {
- query.NameStartsWith = character;
+ query.NameStartsWithOrGreater = character;
reloadItems(page);
}).on('alphaclear', function (e) {
- query.NameStartsWith = '';
+ query.NameStartsWithOrGreater = '';
reloadItems(page);
});
@@ -140,7 +140,7 @@
$('#chkIsOnTour', this).checked(query.IsOnTour === true).checkboxradio('refresh');
- $('.alphabetPicker', this).alphaValue(query.NameStartsWith);
+ $('.alphabetPicker', this).alphaValue(query.NameStartsWithOrGreater);
});
})(jQuery, document);
\ No newline at end of file
diff --git a/dashboard-ui/scripts/tvpeople.js b/dashboard-ui/scripts/tvpeople.js
index 2e6bbcd53a..81a9b6d061 100644
--- a/dashboard-ui/scripts/tvpeople.js
+++ b/dashboard-ui/scripts/tvpeople.js
@@ -110,13 +110,13 @@
$('.alphabetPicker', this).on('alphaselect', function (e, character) {
- query.NameStartsWith = character;
+ query.NameStartsWithOrGreater = character;
reloadItems(page);
}).on('alphaclear', function (e) {
- query.NameStartsWith = '';
+ query.NameStartsWithOrGreater = '';
reloadItems(page);
});
@@ -166,7 +166,7 @@
}).checkboxradio('refresh');
- $('.alphabetPicker', this).alphaValue(query.NameStartsWith);
+ $('.alphabetPicker', this).alphaValue(query.NameStartsWithOrGreater);
});
})(jQuery, document);
\ No newline at end of file
diff --git a/dashboard-ui/scripts/tvshows.js b/dashboard-ui/scripts/tvshows.js
index 70a214803c..b558870a16 100644
--- a/dashboard-ui/scripts/tvshows.js
+++ b/dashboard-ui/scripts/tvshows.js
@@ -181,13 +181,13 @@
$('.alphabetPicker', this).on('alphaselect', function (e, character) {
- query.NameStartsWith = character;
+ query.NameStartsWithOrGreater = character;
reloadItems(page);
}).on('alphaclear', function (e) {
- query.NameStartsWith = '';
+ query.NameStartsWithOrGreater = '';
reloadItems(page);
});