From eed08a0b3a40e7258f335ea2105ee269f78a812a Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 18 Dec 2015 12:31:24 -0500 Subject: [PATCH] exclude secondary audio from direct play --- dashboard-ui/scripts/mediaplayer.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/dashboard-ui/scripts/mediaplayer.js b/dashboard-ui/scripts/mediaplayer.js index 643e6c1d1b..b492f828cb 100644 --- a/dashboard-ui/scripts/mediaplayer.js +++ b/dashboard-ui/scripts/mediaplayer.js @@ -358,6 +358,21 @@ } ] }); + + } else { + + profile.CodecProfiles.push({ + Type: 'VideoAudio', + Conditions: [ + { + Condition: 'Equals', + Property: 'IsSecondaryAudio', + Value: 'false', + IsRequired: 'false' + } + ] + }); + } if (isVlc) {