Merge pull request #6117 from LinFor/pr_originaltitle_in_lookupinfo

Add OriginalTitle to ItemLookupInfo
This commit is contained in:
Claus Vium 2021-06-07 09:37:49 +02:00 committed by GitHub
commit b8f5a14384
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -2640,6 +2640,7 @@ namespace MediaBrowser.Controller.Entities
MetadataCountryCode = GetPreferredMetadataCountryCode(), MetadataCountryCode = GetPreferredMetadataCountryCode(),
MetadataLanguage = GetPreferredMetadataLanguage(), MetadataLanguage = GetPreferredMetadataLanguage(),
Name = GetNameForMetadataLookup(), Name = GetNameForMetadataLookup(),
OriginalTitle = OriginalTitle,
ProviderIds = ProviderIds, ProviderIds = ProviderIds,
IndexNumber = IndexNumber, IndexNumber = IndexNumber,
ParentIndexNumber = ParentIndexNumber, ParentIndexNumber = ParentIndexNumber,

View File

@ -22,6 +22,12 @@ namespace MediaBrowser.Controller.Providers
/// <value>The name.</value> /// <value>The name.</value>
public string Name { get; set; } public string Name { get; set; }
/// <summary>
/// Gets or sets the original title
/// </summary>
/// <value>The original title of the item.</value>
public string OriginalTitle { get; set; }
/// <summary> /// <summary>
/// Gets or sets the path. /// Gets or sets the path.
/// </summary> /// </summary>