mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 09:04:42 +01:00
add additional metadata config tab
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user