add additional metadata config tab

This commit is contained in:
Luke Pulverenti
2013-12-17 23:39:44 -05:00
parent b3b72e1259
commit 14a8b41503
6 changed files with 9 additions and 21 deletions

View File

@@ -105,7 +105,6 @@ namespace MediaBrowser.Server.Implementations.Providers
cancellationToken.ThrowIfCancellationRequested();
var enableInternetProviders = ConfigurationManager.Configuration.EnableInternetProviders;
var excludeTypes = ConfigurationManager.Configuration.InternetProviderExcludeTypes;
var providerHistories = item.DateLastSaved == default(DateTime) ?
new List<BaseProviderInfo>() :
@@ -133,15 +132,6 @@ namespace MediaBrowser.Server.Implementations.Providers
continue;
}
// Skip if internet provider and this type is not allowed
if (provider.RequiresInternet &&
enableInternetProviders &&
excludeTypes.Length > 0 &&
excludeTypes.Contains(item.GetType().Name, StringComparer.OrdinalIgnoreCase))
{
continue;
}
// Put this check below the await because the needs refresh of the next tier of providers may depend on the previous ones running
// This is the case for the fan art provider which depends on the movie and tv providers having run before them
if (provider.RequiresInternet && item.DontFetchMeta && provider.EnforceDontFetchMetadata)