aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-12-24 13:22:36 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-12-24 13:22:36 -0500
commit2040db7afd5e23e6fe9922100e435a18c302df34 (patch)
tree69c44a56999f0a326083d3d175a6a5e566ebcabe
parentb23bdfe9f21aeb48ec83c20166cbc1132162362f (diff)
update dishhopper profile
-rw-r--r--Emby.Dlna/Profiles/DishHopperJoeyProfile.cs15
-rw-r--r--Emby.Dlna/Profiles/Xml/Dish Hopper-Joey.xml6
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">