diff --git a/dashboard-ui/scripts/dashboardpage.js b/dashboard-ui/scripts/dashboardpage.js index 8d652db365..9b44ff3bfd 100644 --- a/dashboard-ui/scripts/dashboardpage.js +++ b/dashboard-ui/scripts/dashboardpage.js @@ -164,14 +164,13 @@ html += '
'; if (deviceId == connection.DeviceId) { - html += connection.Client; + html += connection.DeviceName; } else { - html += '' + connection.Client + ''; + html += '' + connection.DeviceName + ''; } html += '
'; html += '
' + connection.ApplicationVersion + '
'; - html += '
' + connection.DeviceName + '
'; html += '
'; html += DashboardPage.getUsersHtml(connection); diff --git a/dashboard-ui/scripts/itemdetailpage.js b/dashboard-ui/scripts/itemdetailpage.js index ddd8f02ef2..5a16f604e8 100644 --- a/dashboard-ui/scripts/itemdetailpage.js +++ b/dashboard-ui/scripts/itemdetailpage.js @@ -1075,14 +1075,11 @@ attributes.push(createAttribute("Language", stream.Language)); } - if (stream.Codec && stream.Codec != "dca") { + if (stream.Codec) { attributes.push(createAttribute("Codec", stream.Codec.toUpperCase())); } - if (stream.Profile && stream.Codec == "dca") { - attributes.push(createAttribute("Codec", stream.Profile.toUpperCase())); - } - else if (stream.Profile) { + if (stream.Profile) { attributes.push(createAttribute("Profile", stream.Profile)); }