improved item by name displays

pull/702/head
Luke Pulverenti 12 years ago
parent f80c827d75
commit 4279ed529d

@ -163,7 +163,7 @@ namespace MediaBrowser.Api.UserLibrary
AlbumCount = items.OfType<MusicAlbum>().Count(),
EpisodeGuestStarCount = items.OfType<Episode>().Count(i => i.People.Any(p => string.Equals(p.Name, request.Name, StringComparison.OrdinalIgnoreCase) && string.Equals(p.Type, PersonType.GuestStar)))
EpisodeCount = items.OfType<Episode>().Count()
};
return ToOptimizedResult(counts);

@ -22,10 +22,10 @@ namespace MediaBrowser.Model.Dto
/// <value>The series count.</value>
public int SeriesCount { get; set; }
/// <summary>
/// Gets or sets the episode guest star count.
/// Gets or sets the episode count.
/// </summary>
/// <value>The episode guest star count.</value>
public int EpisodeGuestStarCount { get; set; }
/// <value>The episode count.</value>
public int EpisodeCount { get; set; }
/// <summary>
/// Gets or sets the game count.
/// </summary>

Loading…
Cancel
Save