Added publishers to BaseItem

pull/702/head
Luke Pulverenti 12 years ago
parent 5ba769f3b4
commit d1be0b31a2

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

@ -433,6 +433,13 @@ namespace MediaBrowser.Model.Dto
[ProtoMember(70)] [ProtoMember(70)]
public string OverviewHtml { get; set; } 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> /// <summary>
/// Gets a value indicating whether this instance can resume. /// Gets a value indicating whether this instance can resume.
/// </summary> /// </summary>

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

Loading…
Cancel
Save