diff --git a/Html/scripts/DashboardPage.js b/Html/scripts/DashboardPage.js
index 635553076a..e61febb263 100644
--- a/Html/scripts/DashboardPage.js
+++ b/Html/scripts/DashboardPage.js
@@ -114,36 +114,36 @@
getClientType: function (connection) {
- if (connection.ClientType == "Dashboard") {
+ if (connection.Client.toLowerCase() == "dashboard") {
return "
";
}
- if (connection.ClientType == "Pc") {
+ if (connection.Client.toLowerCase() == "mediabrowsertheater") {
- return "
";
+ return "
";
}
- if (connection.ClientType == "Android") {
+ if (connection.Client.toLowerCase() == "android") {
return "
";
}
- if (connection.ClientType == "Ios") {
+ if (connection.Client.toLowerCase() == "ios") {
return "
";
}
- if (connection.ClientType == "WindowsRT") {
+ if (connection.Client.toLowerCase() == "windowsrt") {
return "
";
}
- if (connection.ClientType == "WindowsPhone") {
+ if (connection.Client.toLowerCase() == "windowsphone") {
return "
";
}
- if (connection.ClientType == "Dlna") {
+ if (connection.Client.toLowerCase() == "dlna") {
return "
";
}
- return connection.ClientType;
+ return connection.Client;
},
getNowPlayingImage: function (item) {