aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Entities
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-06-01 00:11:04 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-06-01 00:11:04 -0400
commit20d35a640570eab1a47e4bd8c156f1e8aeb7db2d (patch)
tree4464240863af1e8e6fa811583bb82ad8864dd3ab /MediaBrowser.Model/Entities
parentd1e045f66274e8ec240557d32f484d8640b05edc (diff)
isolate .net specific methods in model project
Diffstat (limited to 'MediaBrowser.Model/Entities')
-rw-r--r--MediaBrowser.Model/Entities/MediaStream.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/MediaBrowser.Model/Entities/MediaStream.cs b/MediaBrowser.Model/Entities/MediaStream.cs
index 9f64b36e4..683cad253 100644
--- a/MediaBrowser.Model/Entities/MediaStream.cs
+++ b/MediaBrowser.Model/Entities/MediaStream.cs
@@ -1,6 +1,7 @@
using System;
using System.Diagnostics;
using System.Runtime.Serialization;
+using MediaBrowser.Model.Extensions;
namespace MediaBrowser.Model.Entities
{
@@ -139,8 +140,8 @@ namespace MediaBrowser.Model.Entities
var codec = Codec ?? string.Empty;
- return codec.IndexOf("pgs", StringComparison.OrdinalIgnoreCase) != -1 ||
- codec.IndexOf("dvd", StringComparison.OrdinalIgnoreCase) != -1;
+ return StringHelper.IndexOfIgnoreCase(codec, "pgs") != -1 ||
+ StringHelper.IndexOfIgnoreCase(codec, "dvd") != -1;
}
}