diff --git a/MediaBrowser.Controller/Library/DtoBuilder.cs b/MediaBrowser.Controller/Library/DtoBuilder.cs index f089b531cb..1fde6a2d8e 100644 --- a/MediaBrowser.Controller/Library/DtoBuilder.cs +++ b/MediaBrowser.Controller/Library/DtoBuilder.cs @@ -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)); diff --git a/MediaBrowser.Model/DTO/BaseItemDto.cs b/MediaBrowser.Model/DTO/BaseItemDto.cs index b4d6aecd9b..dd218b832e 100644 --- a/MediaBrowser.Model/DTO/BaseItemDto.cs +++ b/MediaBrowser.Model/DTO/BaseItemDto.cs @@ -432,6 +432,13 @@ namespace MediaBrowser.Model.Dto /// The overview HTML. [ProtoMember(70)] public string OverviewHtml { get; set; } + + /// + /// Gets or sets the publishers. + /// + /// The publishers. + [ProtoMember(71)] + public List Publishers { get; set; } /// /// Gets a value indicating whether this instance can resume. diff --git a/MediaBrowser.Model/Querying/ItemFields.cs b/MediaBrowser.Model/Querying/ItemFields.cs index 7e57f8f905..d693b5c532 100644 --- a/MediaBrowser.Model/Querying/ItemFields.cs +++ b/MediaBrowser.Model/Querying/ItemFields.cs @@ -81,6 +81,11 @@ namespace MediaBrowser.Model.Querying /// PrimaryImageAspectRatio, + /// + /// The publishers + /// + Publishers, + /// /// AirDays, status, SeriesName, etc ///