diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-04 22:32:40 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-04 22:32:40 -0400 |
| commit | 7049ad66f47f4de3a62e0cc10ca8911f1dc454a7 (patch) | |
| tree | 1984bb5f9780b0c413bbb62dcc66d91d2cb1d27e /MediaBrowser.Model/Dlna/CodecProfile.cs | |
| parent | 39547de1f8ece19e609fe248514684c2f394ac2b (diff) | |
added library grouping settings.
Diffstat (limited to 'MediaBrowser.Model/Dlna/CodecProfile.cs')
| -rw-r--r-- | MediaBrowser.Model/Dlna/CodecProfile.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/MediaBrowser.Model/Dlna/CodecProfile.cs b/MediaBrowser.Model/Dlna/CodecProfile.cs index 3e67b49f9..c2d36dc79 100644 --- a/MediaBrowser.Model/Dlna/CodecProfile.cs +++ b/MediaBrowser.Model/Dlna/CodecProfile.cs @@ -1,6 +1,5 @@ -using System; +using MediaBrowser.Model.Extensions; using System.Collections.Generic; -using System.Linq; using System.Xml.Serialization; namespace MediaBrowser.Model.Dlna @@ -34,7 +33,7 @@ namespace MediaBrowser.Model.Dlna { List<string> codecs = GetCodecs(); - return codecs.Count == 0 || codecs.Contains(codec, StringComparer.OrdinalIgnoreCase); + return codecs.Count == 0 || ListHelper.ContainsIgnoreCase(codecs, codec); } } } |
