added cloud sync model objects

This commit is contained in:
Luke Pulverenti
2014-07-21 21:29:06 -04:00
parent ce20066bc0
commit c524f3919e
93 changed files with 1088 additions and 675 deletions

View File

@@ -1,6 +1,5 @@
using MediaBrowser.Model.Extensions;
using System.Diagnostics;
using System.Runtime.Serialization;
namespace MediaBrowser.Model.Entities
{
@@ -138,8 +137,11 @@ namespace MediaBrowser.Model.Entities
string codec = Codec ?? string.Empty;
// sub = external .sub file
return StringHelper.IndexOfIgnoreCase(codec, "pgs") == -1 &&
StringHelper.IndexOfIgnoreCase(codec, "dvd") == -1;
StringHelper.IndexOfIgnoreCase(codec, "dvd") == -1 &&
!StringHelper.EqualsIgnoreCase(codec, "sub");
}
}