aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/Person.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-01-21 13:50:43 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-01-21 13:50:43 -0500
commit1c8b97866b4d2d6a3fa6ccda20ce86b0f81b1726 (patch)
treed03738c4fc943c41d62263f970cc7ce8869cb20f /MediaBrowser.Controller/Entities/Person.cs
parentdc1c69ea7b3219a1d9cc0487f8734b7a9b268663 (diff)
get people info during media refresh
Diffstat (limited to 'MediaBrowser.Controller/Entities/Person.cs')
-rw-r--r--MediaBrowser.Controller/Entities/Person.cs12
1 files changed, 11 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Person.cs b/MediaBrowser.Controller/Entities/Person.cs
index 120a376d4..560ea6e05 100644
--- a/MediaBrowser.Controller/Entities/Person.cs
+++ b/MediaBrowser.Controller/Entities/Person.cs
@@ -3,6 +3,7 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
+using MediaBrowser.Model.Entities;
namespace MediaBrowser.Controller.Entities
{
@@ -115,8 +116,13 @@ namespace MediaBrowser.Controller.Entities
/// <summary>
/// This is the small Person stub that is attached to BaseItems
/// </summary>
- public class PersonInfo
+ public class PersonInfo : IHasProviderIds
{
+ public PersonInfo()
+ {
+ ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
+ }
+
public Guid ItemId { get; set; }
/// <summary>
@@ -141,6 +147,10 @@ namespace MediaBrowser.Controller.Entities
/// <value>The sort order.</value>
public int? SortOrder { get; set; }
+ public string ImageUrl { get; set; }
+
+ public Dictionary<string, string> ProviderIds { get; set; }
+
/// <summary>
/// Returns a <see cref="System.String" /> that represents this instance.
/// </summary>