improved item by name displays

This commit is contained in:
Luke Pulverenti 2013-05-04 00:38:38 -04:00
parent f80c827d75
commit 4279ed529d
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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>