Merge pull request #4743 from crobibero/metadata-options
Actually use library options when filtering metadata providers
This commit is contained in:
commit
e85884ddb9
|
@ -48,7 +48,7 @@ namespace MediaBrowser.Controller.BaseItemManager
|
|||
return !baseItem.EnableMediaSourceDisplay;
|
||||
}
|
||||
|
||||
var typeOptions = libraryOptions.GetTypeOptions(GetType().Name);
|
||||
var typeOptions = libraryOptions.GetTypeOptions(baseItem.GetType().Name);
|
||||
if (typeOptions != null)
|
||||
{
|
||||
return typeOptions.ImageFetchers.Contains(name, StringComparer.OrdinalIgnoreCase);
|
||||
|
@ -79,7 +79,7 @@ namespace MediaBrowser.Controller.BaseItemManager
|
|||
return !baseItem.EnableMediaSourceDisplay;
|
||||
}
|
||||
|
||||
var typeOptions = libraryOptions.GetTypeOptions(GetType().Name);
|
||||
var typeOptions = libraryOptions.GetTypeOptions(baseItem.GetType().Name);
|
||||
if (typeOptions != null)
|
||||
{
|
||||
return typeOptions.ImageFetchers.Contains(name, StringComparer.OrdinalIgnoreCase);
|
||||
|
|
Loading…
Reference in New Issue
Block a user