2021-05-06 22:39:20 +00:00
|
|
|
#nullable disable
|
|
|
|
|
2020-08-22 19:56:24 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 20:01:16 +00:00
|
|
|
using System;
|
2018-12-27 23:27:57 +00:00
|
|
|
using System.Collections.Generic;
|
2019-01-13 19:25:32 +00:00
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
using MediaBrowser.Model.Channels;
|
2018-12-27 23:27:57 +00:00
|
|
|
using MediaBrowser.Model.Dto;
|
2019-01-13 19:25:32 +00:00
|
|
|
using MediaBrowser.Model.Entities;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Channels
|
|
|
|
{
|
|
|
|
public class ChannelItemInfo : IHasProviderIds
|
|
|
|
{
|
2021-05-11 11:55:46 +00:00
|
|
|
public ChannelItemInfo()
|
|
|
|
{
|
|
|
|
MediaSources = new List<MediaSourceInfo>();
|
|
|
|
TrailerTypes = new List<TrailerType>();
|
|
|
|
Genres = new List<string>();
|
|
|
|
Studios = new List<string>();
|
|
|
|
People = new List<PersonInfo>();
|
|
|
|
Tags = new List<string>();
|
|
|
|
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
|
|
|
Artists = new List<string>();
|
|
|
|
AlbumArtists = new List<string>();
|
|
|
|
}
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
public string SeriesName { get; set; }
|
|
|
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
|
|
public DateTime DateModified { get; set; }
|
|
|
|
|
|
|
|
public ChannelItemType Type { get; set; }
|
|
|
|
|
|
|
|
public string OfficialRating { get; set; }
|
|
|
|
|
|
|
|
public string Overview { get; set; }
|
|
|
|
|
|
|
|
public List<string> Genres { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public List<string> Studios { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public List<string> Tags { get; set; }
|
|
|
|
|
|
|
|
public List<PersonInfo> People { get; set; }
|
|
|
|
|
|
|
|
public float? CommunityRating { get; set; }
|
|
|
|
|
|
|
|
public long? RunTimeTicks { get; set; }
|
|
|
|
|
|
|
|
public string ImageUrl { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public string OriginalTitle { get; set; }
|
|
|
|
|
|
|
|
public ChannelMediaType MediaType { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public ChannelFolderType FolderType { get; set; }
|
|
|
|
|
|
|
|
public ChannelMediaContentType ContentType { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public ExtraType ExtraType { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public List<TrailerType> TrailerTypes { get; set; }
|
|
|
|
|
|
|
|
public Dictionary<string, string> ProviderIds { get; set; }
|
|
|
|
|
|
|
|
public DateTime? PremiereDate { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public int? ProductionYear { get; set; }
|
|
|
|
|
|
|
|
public DateTime? DateCreated { get; set; }
|
|
|
|
|
|
|
|
public DateTime? StartDate { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public DateTime? EndDate { get; set; }
|
|
|
|
|
|
|
|
public int? IndexNumber { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public int? ParentIndexNumber { get; set; }
|
|
|
|
|
|
|
|
public List<MediaSourceInfo> MediaSources { get; set; }
|
|
|
|
|
|
|
|
public string HomePageUrl { get; set; }
|
|
|
|
|
|
|
|
public List<string> Artists { get; set; }
|
|
|
|
|
|
|
|
public List<string> AlbumArtists { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public bool IsLiveStream { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public string Etag { get; set; }
|
|
|
|
}
|
|
|
|
}
|