jellyfin/MediaBrowser.Api/DefaultTheme/Models.cs

84 lines
2.6 KiB
C#
Raw Normal View History

2013-09-15 17:34:37 +00:00
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Entities;
using System;
using System.Collections.Generic;
2013-09-15 17:34:37 +00:00
namespace MediaBrowser.Api.DefaultTheme
{
public class ItemStub
{
public string Name { get; set; }
public string Id { get; set; }
public Guid ImageTag { get; set; }
public ImageType ImageType { get; set; }
}
2013-10-18 16:09:47 +00:00
public class MoviesView : BaseView
2013-09-15 17:34:37 +00:00
{
public List<ItemStub> MovieItems { get; set; }
public List<ItemStub> PeopleItems { get; set; }
2013-09-15 17:34:37 +00:00
public List<ItemStub> BoxSetItems { get; set; }
public List<ItemStub> TrailerItems { get; set; }
public List<ItemStub> HDItems { get; set; }
public List<ItemStub> ThreeDItems { get; set; }
2013-09-15 17:34:37 +00:00
public List<ItemStub> FamilyMovies { get; set; }
2013-09-15 17:34:37 +00:00
public List<ItemStub> RomanceItems { get; set; }
public List<ItemStub> ComedyItems { get; set; }
2013-09-15 17:34:37 +00:00
public double FamilyMoviePercentage { get; set; }
public double HDMoviePercentage { get; set; }
}
2013-10-18 16:09:47 +00:00
public class TvView : BaseView
2013-09-15 17:34:37 +00:00
{
public List<ItemStub> ShowsItems { get; set; }
public List<ItemStub> ActorItems { get; set; }
2013-09-15 17:34:37 +00:00
public List<ItemStub> RomanceItems { get; set; }
public List<ItemStub> ComedyItems { get; set; }
2013-11-03 16:19:33 +00:00
2013-11-03 20:48:16 +00:00
public List<ItemByNameInfo> FavoriteGenres { get; set; }
public List<ItemByNameInfo> FavoriteStudios { get; set; }
public List<string> SeriesIdsInProgress { get; set; }
public List<BaseItemDto> LatestEpisodes { get; set; }
public List<BaseItemDto> NextUpEpisodes { get; set; }
public List<BaseItemDto> ResumableEpisodes { get; set; }
}
public class ItemByNameInfo
{
public string Name { get; set; }
public int ItemCount { get; set; }
2013-09-15 17:34:37 +00:00
}
2013-10-18 16:09:47 +00:00
public class GamesView : BaseView
2013-09-15 19:33:23 +00:00
{
2013-10-06 01:04:41 +00:00
public List<ItemStub> MultiPlayerItems { get; set; }
2013-10-18 16:09:47 +00:00
}
public class BaseView
{
2013-10-21 01:03:33 +00:00
public List<BaseItemDto> BackdropItems { get; set; }
2013-10-18 16:09:47 +00:00
public List<BaseItemDto> SpotlightItems { get; set; }
public List<BaseItemDto> MiniSpotlights { get; set; }
2013-09-15 19:33:23 +00:00
}
2013-10-21 01:03:33 +00:00
public class FavoritesView : BaseView
2013-09-15 17:34:37 +00:00
{
2013-10-21 01:03:33 +00:00
public List<BaseItemDto> Movies { get; set; }
public List<BaseItemDto> Series { get; set; }
public List<BaseItemDto> Episodes { get; set; }
public List<BaseItemDto> Games { get; set; }
public List<BaseItemDto> Books { get; set; }
public List<BaseItemDto> Albums { get; set; }
public List<BaseItemDto> Songs { get; set; }
public List<BaseItemDto> Artists { get; set; }
2013-09-15 17:34:37 +00:00
}
}