diff options
| -rw-r--r-- | Emby.Dlna/Profiles/DishHopperJoeyProfile.cs | 15 | ||||
| -rw-r--r-- | Emby.Dlna/Profiles/Xml/Dish Hopper-Joey.xml | 6 |
2 files changed, 21 insertions, 0 deletions
diff --git a/Emby.Dlna/Profiles/DishHopperJoeyProfile.cs b/Emby.Dlna/Profiles/DishHopperJoeyProfile.cs index 9f3137710..d494a7bfc 100644 --- a/Emby.Dlna/Profiles/DishHopperJoeyProfile.cs +++ b/Emby.Dlna/Profiles/DishHopperJoeyProfile.cs @@ -201,6 +201,21 @@ namespace Emby.Dlna.Profiles IsRequired = true } } + }, + + new CodecProfile + { + Type = CodecType.VideoAudio, + Conditions = new [] + { + // The device does not have any audio switching capabilities + new ProfileCondition + { + Condition = ProfileConditionType.Equals, + Property = ProfileConditionValue.IsSecondaryAudio, + Value = "false" + } + } } }; diff --git a/Emby.Dlna/Profiles/Xml/Dish Hopper-Joey.xml b/Emby.Dlna/Profiles/Xml/Dish Hopper-Joey.xml index 3ad2a0129..3b790986a 100644 --- a/Emby.Dlna/Profiles/Xml/Dish Hopper-Joey.xml +++ b/Emby.Dlna/Profiles/Xml/Dish Hopper-Joey.xml @@ -80,6 +80,12 @@ </Conditions> <ApplyConditions /> </CodecProfile> + <CodecProfile type="VideoAudio"> + <Conditions> + <ProfileCondition condition="Equals" property="IsSecondaryAudio" value="false" isRequired="true" /> + </Conditions> + <ApplyConditions /> + </CodecProfile> </CodecProfiles> <ResponseProfiles> <ResponseProfile container="mkv,ts" type="Video" mimeType="video/mp4"> |
