2
0

ChannelItemInfo.cs 2.5 KB

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