jellyfin/MediaBrowser.Controller/Channels/ChannelItemInfo.cs

56 lines
1.6 KiB
C#
Raw Normal View History

using MediaBrowser.Controller.Entities;
2014-03-17 18:45:41 -07:00
using MediaBrowser.Model.Entities;
using System;
using System.Collections.Generic;
namespace MediaBrowser.Controller.Channels
{
2014-03-17 18:45:41 -07:00
public class ChannelItemInfo : IHasProviderIds
{
public string Name { get; set; }
public string Id { get; set; }
public ChannelItemType Type { get; set; }
public string OfficialRating { get; set; }
public string Overview { get; set; }
public List<string> Genres { get; set; }
2014-05-02 21:20:04 -07:00
public List<string> Studios { get; set; }
public List<PersonInfo> People { get; set; }
public float? CommunityRating { get; set; }
public long? RunTimeTicks { get; set; }
2014-03-17 18:45:41 -07:00
public bool IsInfiniteStream { get; set; }
public string ImageUrl { get; set; }
public ChannelMediaType MediaType { get; set; }
public ChannelMediaContentType ContentType { get; set; }
2014-03-17 18:45:41 -07:00
public Dictionary<string, string> ProviderIds { get; set; }
2014-03-18 10:05:57 -07:00
public DateTime? PremiereDate { get; set; }
public int? ProductionYear { get; set; }
2014-05-02 21:20:04 -07:00
public DateTime? DateCreated { get; set; }
public List<ChannelMediaInfo> MediaSources { get; set; }
public ChannelItemInfo()
{
2014-05-02 21:20:04 -07:00
MediaSources = new List<ChannelMediaInfo>();
Genres = new List<string>();
2014-05-02 21:20:04 -07:00
Studios = new List<string>();
People = new List<PersonInfo>();
2014-03-17 18:45:41 -07:00
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
}
}
}