aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Dlna/ResponseProfile.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2021-02-23 19:19:38 +0900
committerdkanada <dkanada@users.noreply.github.com>2021-02-23 19:19:38 +0900
commitbc746b4d05f440b4910751ab7ae70e81ad470892 (patch)
tree0642ed74e91511214e4d4b8a3beb40b9c7a8e7d4 /MediaBrowser.Model/Dlna/ResponseProfile.cs
parent9caf3119257544d6fb8fd3e1f1cb2b50eba7bd39 (diff)
parent7ece3c552337340a997a75aab1520a501a673f61 (diff)
merge branch 'master' into auto-manifest
Diffstat (limited to 'MediaBrowser.Model/Dlna/ResponseProfile.cs')
-rw-r--r--MediaBrowser.Model/Dlna/ResponseProfile.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/MediaBrowser.Model/Dlna/ResponseProfile.cs b/MediaBrowser.Model/Dlna/ResponseProfile.cs
index 48f53f06c..bf9661f7f 100644
--- a/MediaBrowser.Model/Dlna/ResponseProfile.cs
+++ b/MediaBrowser.Model/Dlna/ResponseProfile.cs
@@ -8,6 +8,11 @@ namespace MediaBrowser.Model.Dlna
{
public class ResponseProfile
{
+ public ResponseProfile()
+ {
+ Conditions = Array.Empty<ProfileCondition>();
+ }
+
[XmlAttribute("container")]
public string Container { get; set; }
@@ -28,11 +33,6 @@ namespace MediaBrowser.Model.Dlna
public ProfileCondition[] Conditions { get; set; }
- public ResponseProfile()
- {
- Conditions = Array.Empty<ProfileCondition>();
- }
-
public string[] GetContainers()
{
return ContainerProfile.SplitValue(Container);