diff options
Diffstat (limited to 'Emby.Dlna/ProfileSerialization/ContainerProfile.cs')
| -rw-r--r-- | Emby.Dlna/ProfileSerialization/ContainerProfile.cs | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/Emby.Dlna/ProfileSerialization/ContainerProfile.cs b/Emby.Dlna/ProfileSerialization/ContainerProfile.cs deleted file mode 100644 index 112f25a7e..000000000 --- a/Emby.Dlna/ProfileSerialization/ContainerProfile.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System.Collections.Generic; -using System.Xml.Serialization; -using MediaBrowser.Model.Dlna; - -namespace Emby.Dlna.ProfileSerialization -{ - public class ContainerProfile - { - [XmlAttribute("type")] - public DlnaProfileType Type { get; set; } - public ProfileCondition[] Conditions { get; set; } - - [XmlAttribute("container")] - public string Container { get; set; } - - public ContainerProfile() - { - Conditions = new ProfileCondition[] { }; - } - - public List<string> GetContainers() - { - List<string> list = new List<string>(); - foreach (string i in (Container ?? string.Empty).Split(',')) - { - if (!string.IsNullOrEmpty(i)) list.Add(i); - } - return list; - } - } -} |
