This commit is contained in:
Luke Pulverenti
2017-07-10 03:37:00 -04:00
parent 1c1aa7c2c5
commit 07ab6a19e2
6 changed files with 42 additions and 9 deletions

View File

@@ -57,6 +57,22 @@ namespace MediaBrowser.Controller.Entities
{
get
{
var extraType = ExtraType;
if (extraType.HasValue)
{
if (extraType.Value == Model.Entities.ExtraType.Sample)
{
return false;
}
if (extraType.Value == Model.Entities.ExtraType.ThemeVideo)
{
return false;
}
if (extraType.Value == Model.Entities.ExtraType.Trailer)
{
return false;
}
}
return true;
}
}