mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-06 05:43:03 +02:00
Merge pull request #8008 from revam/add-escape-hatch-for-series-merging
This commit is contained in:
commit
ecae0982cc
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue