From 32a0d7fcf0b82b7748cd385320ca2f73e409d50c Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 22 Jun 2014 12:25:47 -0400 Subject: [PATCH] detect anamorphic video --- dashboard-ui/css/chromecast.css | 2 +- dashboard-ui/scripts/itemdetailpage.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dashboard-ui/css/chromecast.css b/dashboard-ui/css/chromecast.css index 582bdc08f..2cb50df44 100644 --- a/dashboard-ui/css/chromecast.css +++ b/dashboard-ui/css/chromecast.css @@ -30,7 +30,7 @@ margin-right: .5em; height: 100%; position: relative; - top: -19px; + top: -18px; font-family: "Open Sans"; } diff --git a/dashboard-ui/scripts/itemdetailpage.js b/dashboard-ui/scripts/itemdetailpage.js index 31dcf19c0..6d869617a 100644 --- a/dashboard-ui/scripts/itemdetailpage.js +++ b/dashboard-ui/scripts/itemdetailpage.js @@ -1178,6 +1178,10 @@ } if (type == "Video") { + if (stream.IsAnamorphic != null) { + attributes.push(createAttribute("Anamorphic", (stream.IsAnamorphic ? 'Yes' : 'No'))); + } + attributes.push(createAttribute("Interlaced", (stream.IsInterlaced ? 'Yes' : 'No'))); }