jellyfin/MediaBrowser.Api/DefaultTheme/Models.cs

84 lines
2.6 KiB
C#
Raw Normal View History

2013-09-15 10:34:37 -07:00
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Entities;
using System;
using System.Collections.Generic;
2013-09-15 10:34:37 -07: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 09:09:47 -07:00
public class MoviesView : BaseView
2013-09-15 10:34:37 -07:00
{
public List<ItemStub> MovieItems { get; set; }
2013-09-15 10:34:37 -07: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 10:34:37 -07:00
public List<ItemStub> FamilyMovies { get; set; }
2013-09-15 10:34:37 -07:00
public List<ItemStub> RomanceItems { get; set; }
public List<ItemStub> ComedyItems { get; set; }
2013-09-15 10:34:37 -07:00
public double FamilyMoviePercentage { get; set; }
public double HDMoviePercentage { get; set; }
2013-11-05 11:20:24 -07:00
public List<BaseItemDto> LatestTrailers { get; set; }
public List<BaseItemDto> LatestMovies { get; set; }
2013-09-15 10:34:37 -07:00
}
2013-10-18 09:09:47 -07:00
public class TvView : BaseView
2013-09-15 10:34:37 -07:00
{
public List<ItemStub> ShowsItems { get; set; }
2013-09-15 10:34:37 -07:00
public List<ItemStub> RomanceItems { get; set; }
public List<ItemStub> ComedyItems { get; set; }
2013-11-03 09:19:33 -07:00
2013-11-03 13:48:16 -07:00
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 10:34:37 -07:00
}
2013-10-18 09:09:47 -07:00
public class GamesView : BaseView
2013-09-15 12:33:23 -07:00
{
2013-10-05 18:04:41 -07:00
public List<ItemStub> MultiPlayerItems { get; set; }
public List<BaseItemDto> GameSystems { get; set; }
public List<BaseItemDto> RecentlyPlayedGames { get; set; }
2013-10-18 09:09:47 -07:00
}
public class BaseView
{
2013-10-20 18:03:33 -07:00
public List<BaseItemDto> BackdropItems { get; set; }
2013-10-18 09:09:47 -07:00
public List<BaseItemDto> SpotlightItems { get; set; }
public List<BaseItemDto> MiniSpotlights { get; set; }
2013-09-15 12:33:23 -07:00
}
2013-10-20 18:03:33 -07:00
public class FavoritesView : BaseView
2013-09-15 10:34:37 -07:00
{
2013-10-20 18:03:33 -07: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 10:34:37 -07:00
}
}