@@ -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));
@@ -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.
@@ -81,6 +81,11 @@ namespace MediaBrowser.Model.Querying
/// </summary>
PrimaryImageAspectRatio,
+ /// The publishers
+ Publishers,
/// AirDays, status, SeriesName, etc