mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-26 10:44:50 +03:00
isolate .net specific methods in model project
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user