commit
8eaefce14e
|
@ -91,8 +91,11 @@ namespace MediaBrowser.Controller.Providers
|
|||
/// <summary>
|
||||
/// Adds the metadata providers.
|
||||
/// </summary>
|
||||
void AddParts(IEnumerable<IImageProvider> imageProviders, IEnumerable<IMetadataService> metadataServices, IEnumerable<IMetadataProvider> metadataProviders,
|
||||
IEnumerable<IMetadataSaver> savers,
|
||||
void AddParts(
|
||||
IEnumerable<IImageProvider> imageProviders,
|
||||
IEnumerable<IMetadataService> metadataServices,
|
||||
IEnumerable<IMetadataProvider> metadataProviders,
|
||||
IEnumerable<IMetadataSaver> metadataSavers,
|
||||
IEnumerable<IExternalId> externalIds);
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -60,8 +60,8 @@ namespace MediaBrowser.Providers.Manager
|
|||
|
||||
private IMetadataService[] _metadataServices = Array.Empty<IMetadataService>();
|
||||
private IMetadataProvider[] _metadataProviders = Array.Empty<IMetadataProvider>();
|
||||
private IEnumerable<IMetadataSaver> _savers;
|
||||
private IExternalId[] _externalIds;
|
||||
private IMetadataSaver[] _savers = Array.Empty<IMetadataSaver>();
|
||||
private IExternalId[] _externalIds = Array.Empty<IExternalId>();
|
||||
private bool _isProcessingRefreshQueue;
|
||||
private bool _disposed;
|
||||
|
||||
|
@ -125,7 +125,7 @@ namespace MediaBrowser.Providers.Manager
|
|||
_externalIds = externalIds.OrderBy(i => i.ProviderName).ToArray();
|
||||
|
||||
_savers = metadataSavers
|
||||
.Where(i => !(i is IConfigurableProvider configurable) || configurable.IsEnabled)
|
||||
.Where(i => i is not IConfigurableProvider configurable || configurable.IsEnabled)
|
||||
.ToArray();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user