Merge pull request #8008 from revam/add-escape-hatch-for-series-merging

This commit is contained in:
Bond-009 2022-07-03 21:30:34 +02:00 committed by GitHub
commit ecae0982cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View file

@ -184,6 +184,11 @@ namespace MediaBrowser.Controller.Entities.TV
list.Insert(0, key);
}
if (this.TryGetProviderId(MetadataProvider.Custom, out key))
{
list.Insert(0, key);
}
return list;
}

View file

@ -7,6 +7,12 @@ namespace MediaBrowser.Model.Entities
/// </summary>
public enum MetadataProvider
{
/// <summary>
/// This metadata provider is for users and/or plugins to override the
/// default merging behaviour.
/// </summary>
Custom = 0,
/// <summary>
/// The imdb.
/// </summary>