You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
2.6 KiB
84 lines
2.6 KiB
using MediaBrowser.Model.Dto;
|
|
using MediaBrowser.Model.Entities;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
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; }
|
|
}
|
|
|
|
public class MoviesView : BaseView
|
|
{
|
|
public List<ItemStub> MovieItems { get; set; }
|
|
|
|
public List<ItemStub> BoxSetItems { get; set; }
|
|
public List<ItemStub> TrailerItems { get; set; }
|
|
public List<ItemStub> HDItems { get; set; }
|
|
public List<ItemStub> ThreeDItems { get; set; }
|
|
|
|
public List<ItemStub> FamilyMovies { get; set; }
|
|
|
|
public List<ItemStub> RomanceItems { get; set; }
|
|
public List<ItemStub> ComedyItems { get; set; }
|
|
|
|
public double FamilyMoviePercentage { get; set; }
|
|
|
|
public double HDMoviePercentage { get; set; }
|
|
|
|
public List<BaseItemDto> LatestTrailers { get; set; }
|
|
public List<BaseItemDto> LatestMovies { get; set; }
|
|
}
|
|
|
|
public class TvView : BaseView
|
|
{
|
|
public List<ItemStub> ShowsItems { get; set; }
|
|
|
|
public List<ItemStub> RomanceItems { get; set; }
|
|
public List<ItemStub> ComedyItems { 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; }
|
|
}
|
|
|
|
public class GamesView : BaseView
|
|
{
|
|
public List<ItemStub> MultiPlayerItems { get; set; }
|
|
public List<BaseItemDto> GameSystems { get; set; }
|
|
public List<BaseItemDto> RecentlyPlayedGames { get; set; }
|
|
}
|
|
|
|
public class BaseView
|
|
{
|
|
public List<BaseItemDto> BackdropItems { get; set; }
|
|
public List<BaseItemDto> SpotlightItems { get; set; }
|
|
public List<BaseItemDto> MiniSpotlights { get; set; }
|
|
}
|
|
|
|
public class FavoritesView : BaseView
|
|
{
|
|
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; }
|
|
}
|
|
}
|