ChannelItemInfo.cs 2.2 KB

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