ChannelItemInfo.cs 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. #nullable disable
  2. #pragma warning disable CA1002, CA2227, CS1591
  3. using System;
  4. using System.Collections.Generic;
  5. using MediaBrowser.Controller.Entities;
  6. using MediaBrowser.Model.Channels;
  7. using MediaBrowser.Model.Dto;
  8. using MediaBrowser.Model.Entities;
  9. namespace MediaBrowser.Controller.Channels
  10. {
  11. public class ChannelItemInfo : IHasProviderIds
  12. {
  13. public ChannelItemInfo()
  14. {
  15. MediaSources = new List<MediaSourceInfo>();
  16. TrailerTypes = new List<TrailerType>();
  17. Genres = new List<string>();
  18. Studios = new List<string>();
  19. People = new List<PersonInfo>();
  20. Tags = new List<string>();
  21. ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
  22. Artists = new List<string>();
  23. AlbumArtists = new List<string>();
  24. }
  25. public string Name { get; set; }
  26. public string SeriesName { get; set; }
  27. public string Id { get; set; }
  28. public DateTime DateModified { get; set; }
  29. public ChannelItemType Type { get; set; }
  30. public string OfficialRating { get; set; }
  31. public string Overview { get; set; }
  32. public List<string> Genres { get; set; }
  33. public List<string> Studios { get; set; }
  34. public List<string> Tags { get; set; }
  35. public List<PersonInfo> People { get; set; }
  36. public float? CommunityRating { get; set; }
  37. public long? RunTimeTicks { get; set; }
  38. public string ImageUrl { get; set; }
  39. public string OriginalTitle { get; set; }
  40. public ChannelMediaType MediaType { get; set; }
  41. public ChannelFolderType FolderType { get; set; }
  42. public ChannelMediaContentType ContentType { get; set; }
  43. public ExtraType ExtraType { get; set; }
  44. public List<TrailerType> TrailerTypes { get; set; }
  45. public Dictionary<string, string> ProviderIds { get; set; }
  46. public DateTime? PremiereDate { get; set; }
  47. public int? ProductionYear { get; set; }
  48. public DateTime? DateCreated { get; set; }
  49. public DateTime? StartDate { get; set; }
  50. public DateTime? EndDate { get; set; }
  51. public int? IndexNumber { get; set; }
  52. public int? ParentIndexNumber { get; set; }
  53. public List<MediaSourceInfo> MediaSources { get; set; }
  54. public string HomePageUrl { get; set; }
  55. public List<string> Artists { get; set; }
  56. public List<string> AlbumArtists { get; set; }
  57. public bool IsLiveStream { get; set; }
  58. public string Etag { get; set; }
  59. }
  60. }