diff --git a/dashboard-ui/scripts/Itemdetailpage.js b/dashboard-ui/scripts/Itemdetailpage.js index 4f2d27f800..82cc66a204 100644 --- a/dashboard-ui/scripts/Itemdetailpage.js +++ b/dashboard-ui/scripts/Itemdetailpage.js @@ -802,6 +802,10 @@ var attributes = []; + if (stream.Language) { + attributes.push('' + stream.Language + ''); + } + if (stream.Codec && stream.Codec != "dca") { attributes.push('' + stream.Codec + ''); } @@ -810,10 +814,6 @@ attributes.push('' + stream.Profile + ''); } - if (stream.Language) { - attributes.push('' + stream.Language + ''); - } - if (stream.Width || stream.Height) { attributes.push('' + stream.Width + 'x' + stream.Height + ''); } @@ -822,12 +822,15 @@ attributes.push('' + stream.AspectRatio + ''); } - if (stream.BitRate && stream.Codec != "mjpeg") { - attributes.push('' + (parseInt(stream.BitRate / 1000)) + ' kbps'); + if (stream.ChannelLayout) { + attributes.push('' + stream.ChannelLayout + ''); + } + else if (stream.Channels) { + attributes.push('' + stream.Channels + ' ch'); } - if (stream.Channels) { - attributes.push('' + stream.Channels + ' ch'); + if (stream.BitRate && stream.Codec != "mjpeg") { + attributes.push('' + (parseInt(stream.BitRate / 1000)) + ' kbps'); } if (stream.SampleRate) {