2013-09-15 10:34:37 -07:00
|
|
|
|
using MediaBrowser.Model.Dto;
|
|
|
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
|
using System;
|
2013-09-19 17:53:18 -07:00
|
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class MoviesView
|
|
|
|
|
{
|
2013-09-19 17:53:18 -07:00
|
|
|
|
public List<BaseItemDto> SpotlightItems { get; set; }
|
|
|
|
|
public List<ItemStub> MovieItems { get; set; }
|
|
|
|
|
public List<ItemStub> PeopleItems { get; set; }
|
2013-09-15 10:34:37 -07:00
|
|
|
|
|
2013-09-19 17:53:18 -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
|
|
|
|
|
2013-09-19 17:53:18 -07:00
|
|
|
|
public List<ItemStub> FamilyMovies { get; set; }
|
2013-09-15 10:34:37 -07:00
|
|
|
|
|
2013-09-19 17:53:18 -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; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class TvView
|
|
|
|
|
{
|
2013-09-19 17:53:18 -07:00
|
|
|
|
public List<BaseItemDto> SpotlightItems { get; set; }
|
|
|
|
|
public List<ItemStub> ShowsItems { get; set; }
|
|
|
|
|
public List<ItemStub> ActorItems { get; set; }
|
2013-09-15 10:34:37 -07:00
|
|
|
|
|
2013-09-19 17:53:18 -07:00
|
|
|
|
public List<ItemStub> RomanceItems { get; set; }
|
|
|
|
|
public List<ItemStub> ComedyItems { get; set; }
|
2013-09-15 10:34:37 -07:00
|
|
|
|
}
|
|
|
|
|
|
2013-09-15 12:33:23 -07:00
|
|
|
|
public class GamesView
|
|
|
|
|
{
|
2013-09-19 17:53:18 -07:00
|
|
|
|
public List<BaseItemDto> SpotlightItems { get; set; }
|
2013-09-15 12:33:23 -07:00
|
|
|
|
}
|
|
|
|
|
|
2013-09-15 10:34:37 -07:00
|
|
|
|
public class HomeView
|
|
|
|
|
{
|
2013-09-19 17:53:18 -07:00
|
|
|
|
public List<BaseItemDto> SpotlightItems { get; set; }
|
2013-09-15 10:34:37 -07:00
|
|
|
|
}
|
|
|
|
|
}
|