diff --git a/dashboard-ui/scripts/Itemdetailpage.js b/dashboard-ui/scripts/Itemdetailpage.js
index 2e3aaef50b..4b184d1b93 100644
--- a/dashboard-ui/scripts/Itemdetailpage.js
+++ b/dashboard-ui/scripts/Itemdetailpage.js
@@ -769,19 +769,15 @@
attributes.push('' + stream.Language + '');
}
- if (stream.Width) {
- attributes.push('' + stream.Width + '');
+ if (stream.Width || stream.Height) {
+ attributes.push('' + stream.Width + 'x' + stream.Height + '');
}
- if (stream.Height) {
- attributes.push('' + stream.Height + '');
- }
-
- if (stream.AspectRatio) {
+ if (stream.AspectRatio && stream.Codec != "mjpeg") {
attributes.push('' + stream.AspectRatio + '');
}
- if (stream.BitRate) {
+ if (stream.BitRate && stream.Codec != "mjpeg") {
attributes.push('' + (parseInt(stream.BitRate / 1000)) + ' kbps');
}
@@ -795,7 +791,7 @@
var framerate = stream.AverageFrameRate || stream.RealFrameRate;
- if (framerate) {
+ if (framerate && item.MediaType != "Audio") {
attributes.push('' + framerate + '');
}