added more info to user library counts

This commit is contained in:
Luke Pulverenti
2013-10-20 21:03:33 -04:00
parent 2456a66e85
commit a3a658e820
12 changed files with 317 additions and 122 deletions

View File

@@ -87,24 +87,6 @@ namespace MediaBrowser.Model.Configuration
/// <value>The metadata country code.</value>
public string MetadataCountryCode { get; set; }
/// <summary>
/// Gets or sets the size of the TMDB fetched poster.
/// </summary>
/// <value>The size of the TMDB fetched poster.</value>
public string TmdbFetchedPosterSize { get; set; }
/// <summary>
/// Gets or sets the size of the TMDB fetched profile.
/// </summary>
/// <value>The size of the TMDB fetched profile.</value>
public string TmdbFetchedProfileSize { get; set; }
/// <summary>
/// Gets or sets the size of the TMDB fetched backdrop.
/// </summary>
/// <value>The size of the TMDB fetched backdrop.</value>
public string TmdbFetchedBackdropSize { get; set; }
/// <summary>
/// Gets or sets the max backdrops.
/// </summary>
@@ -274,9 +256,6 @@ namespace MediaBrowser.Model.Configuration
MetadataRefreshDays = 30;
PreferredMetadataLanguage = "en";
MetadataCountryCode = "US";
TmdbFetchedProfileSize = "original"; //w185 w45 h632 or original
TmdbFetchedPosterSize = "original"; //w500, w342, w185 or original
TmdbFetchedBackdropSize = "original"; //w1280, w780 or original
DownloadMovieImages = new ImageDownloadOptions();
DownloadSeriesImages = new ImageDownloadOptions();
DownloadSeasonImages = new ImageDownloadOptions();

View File

@@ -70,6 +70,56 @@ namespace MediaBrowser.Model.Dto
/// <value>The unique types.</value>
public List<string> UniqueTypes { get; set; }
public int FavoriteAdultVideoCount { get; set; }
/// <summary>
/// Gets or sets the movie count.
/// </summary>
/// <value>The movie count.</value>
public int FavoriteMovieCount { get; set; }
/// <summary>
/// Gets or sets the series count.
/// </summary>
/// <value>The series count.</value>
public int FavoriteSeriesCount { get; set; }
/// <summary>
/// Gets or sets the episode count.
/// </summary>
/// <value>The episode count.</value>
public int FavoriteEpisodeCount { get; set; }
/// <summary>
/// Gets or sets the game count.
/// </summary>
/// <value>The game count.</value>
public int FavoriteGameCount { get; set; }
/// <summary>
/// Gets or sets the song count.
/// </summary>
/// <value>The song count.</value>
public int FavoriteSongCount { get; set; }
/// <summary>
/// Gets or sets the album count.
/// </summary>
/// <value>The album count.</value>
public int FavoriteAlbumCount { get; set; }
/// <summary>
/// Gets or sets the music video count.
/// </summary>
/// <value>The music video count.</value>
public int FavoriteMusicVideoCount { get; set; }
/// <summary>
/// Gets or sets the box set count.
/// </summary>
/// <value>The box set count.</value>
public int FavoriteBoxSetCount { get; set; }
/// <summary>
/// Gets or sets the book count.
/// </summary>
/// <value>The book count.</value>
public int FavoriteBookCount { get; set; }
public int FavoritePersonCount { get; set; }
public int FavoriteArtistCount { get; set; }
public ItemCounts()
{
UniqueTypes = new List<string>();