Fix copy-paste error

pull/4769/head
crobibero 4 years ago
parent 04ba59ab40
commit 7d24460fac

@ -51,7 +51,7 @@ namespace MediaBrowser.Controller.BaseItemManager
var typeOptions = libraryOptions.GetTypeOptions(baseItem.GetType().Name); var typeOptions = libraryOptions.GetTypeOptions(baseItem.GetType().Name);
if (typeOptions != null) if (typeOptions != null)
{ {
return typeOptions.ImageFetchers.Contains(name, StringComparer.OrdinalIgnoreCase); return typeOptions.MetadataFetchers.Contains(name, StringComparer.OrdinalIgnoreCase);
} }
if (!libraryOptions.EnableInternetProviders) if (!libraryOptions.EnableInternetProviders)
@ -61,7 +61,7 @@ namespace MediaBrowser.Controller.BaseItemManager
var itemConfig = _serverConfigurationManager.Configuration.MetadataOptions.FirstOrDefault(i => string.Equals(i.ItemType, GetType().Name, StringComparison.OrdinalIgnoreCase)); var itemConfig = _serverConfigurationManager.Configuration.MetadataOptions.FirstOrDefault(i => string.Equals(i.ItemType, GetType().Name, StringComparison.OrdinalIgnoreCase));
return itemConfig == null || !itemConfig.DisabledImageFetchers.Contains(name, StringComparer.OrdinalIgnoreCase); return itemConfig == null || !itemConfig.DisabledMetadataFetchers.Contains(name, StringComparer.OrdinalIgnoreCase);
} }
/// <inheritdoc /> /// <inheritdoc />

Loading…
Cancel
Save