mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 09:04:42 +01:00
Merge pull request #811 from thogil/item_identity_providers_2
Item identity providers
This commit is contained in:
@@ -32,6 +32,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
||||
LockedFields = new List<MetadataFields>();
|
||||
ImageInfos = new List<ItemImageInfo>();
|
||||
Identities = new List<IItemIdentity>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -244,6 +245,9 @@ namespace MediaBrowser.Controller.Entities
|
||||
|
||||
public bool IsUnidentified { get; set; }
|
||||
|
||||
[IgnoreDataMember]
|
||||
public List<IItemIdentity> Identities { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the locked fields.
|
||||
/// </summary>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using MediaBrowser.Controller.Library;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -55,5 +56,10 @@ namespace MediaBrowser.Controller.Entities
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is unidentified; otherwise, <c>false</c>.</value>
|
||||
bool IsUnidentified { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the item identities.
|
||||
/// </summary>
|
||||
List<IItemIdentity> Identities { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user