mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
Merge pull request #7005 from 1337joe/deprecate-enableinternetproviders
This commit is contained in:
commit
16bf4a013b
2 changed files with 1 additions and 11 deletions
|
@ -55,11 +55,6 @@ namespace MediaBrowser.Controller.BaseItemManager
|
|||
return typeOptions.MetadataFetchers.Contains(name.AsSpan(), StringComparison.OrdinalIgnoreCase);
|
||||
}
|
||||
|
||||
if (!libraryOptions.EnableInternetProviders)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
var itemConfig = _serverConfigurationManager.Configuration.MetadataOptions.FirstOrDefault(i => string.Equals(i.ItemType, baseItem.GetType().Name, StringComparison.OrdinalIgnoreCase));
|
||||
|
||||
return itemConfig == null || !itemConfig.DisabledMetadataFetchers.Contains(name.AsSpan(), StringComparison.OrdinalIgnoreCase);
|
||||
|
@ -86,11 +81,6 @@ namespace MediaBrowser.Controller.BaseItemManager
|
|||
return typeOptions.ImageFetchers.Contains(name.AsSpan(), StringComparison.OrdinalIgnoreCase);
|
||||
}
|
||||
|
||||
if (!libraryOptions.EnableInternetProviders)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
var itemConfig = _serverConfigurationManager.Configuration.MetadataOptions.FirstOrDefault(i => string.Equals(i.ItemType, baseItem.GetType().Name, StringComparison.OrdinalIgnoreCase));
|
||||
|
||||
return itemConfig == null || !itemConfig.DisabledImageFetchers.Contains(name.AsSpan(), StringComparison.OrdinalIgnoreCase);
|
||||
|
|
|
@ -21,7 +21,6 @@ namespace MediaBrowser.Model.Configuration
|
|||
SaveSubtitlesWithMedia = true;
|
||||
EnableRealtimeMonitor = true;
|
||||
PathInfos = Array.Empty<MediaPathInfo>();
|
||||
EnableInternetProviders = true;
|
||||
EnableAutomaticSeriesGrouping = true;
|
||||
SeasonZeroDisplayName = "Specials";
|
||||
}
|
||||
|
@ -38,6 +37,7 @@ namespace MediaBrowser.Model.Configuration
|
|||
|
||||
public bool SaveLocalMetadata { get; set; }
|
||||
|
||||
[Obsolete("Disable remote providers in TypeOptions instead")]
|
||||
public bool EnableInternetProviders { get; set; }
|
||||
|
||||
public bool EnableAutomaticSeriesGrouping { get; set; }
|
||||
|
|
Loading…
Reference in a new issue