resolve missing trailers

This commit is contained in:
Luke Pulverenti 2016-03-29 23:31:11 -04:00
parent 4295f0c10f
commit b293211628
2 changed files with 6 additions and 2 deletions

View File

@ -2084,7 +2084,7 @@ namespace MediaBrowser.Controller.Entities
{
get
{
if (GetParent() is AggregateFolder || this is Channel || this is BasePluginFolder)
if (GetParent() is AggregateFolder || this is BasePluginFolder)
{
return true;
}
@ -2094,6 +2094,10 @@ namespace MediaBrowser.Controller.Entities
{
return true;
}
if (view != null && string.Equals(view.ViewType, CollectionType.Channels, StringComparison.OrdinalIgnoreCase))
{
return true;
}
return false;
}

View File

@ -79,7 +79,7 @@ namespace MediaBrowser.Server.Implementations.Persistence
private IDbCommand _updateInheritedRatingCommand;
private const int LatestSchemaVersion = 53;
private const int LatestSchemaVersion = 55;
/// <summary>
/// Initializes a new instance of the <see cref="SqliteItemRepository"/> class.