Added publishers to BaseItem

This commit is contained in:
Luke Pulverenti 2013-04-05 00:13:59 -04:00
parent 5ba769f3b4
commit d1be0b31a2
3 changed files with 17 additions and 0 deletions

View File

@ -64,6 +64,11 @@ namespace MediaBrowser.Controller.Library
dto.Studios = item.Studios;
}
if (fields.Contains(ItemFields.Publishers))
{
dto.Publishers = item.Publishers;
}
if (fields.Contains(ItemFields.People))
{
tasks.Add(AttachPeople(dto, item));

View File

@ -432,6 +432,13 @@ namespace MediaBrowser.Model.Dto
/// <value>The overview HTML.</value>
[ProtoMember(70)]
public string OverviewHtml { get; set; }
/// <summary>
/// Gets or sets the publishers.
/// </summary>
/// <value>The publishers.</value>
[ProtoMember(71)]
public List<string> Publishers { get; set; }
/// <summary>
/// Gets a value indicating whether this instance can resume.

View File

@ -81,6 +81,11 @@ namespace MediaBrowser.Model.Querying
/// </summary>
PrimaryImageAspectRatio,
/// <summary>
/// The publishers
/// </summary>
Publishers,
/// <summary>
/// AirDays, status, SeriesName, etc
/// </summary>