ImageDownloadOptions.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. 
  2. namespace MediaBrowser.Model.Configuration
  3. {
  4. /// <summary>
  5. /// Class ImageDownloadOptions
  6. /// </summary>
  7. public class ImageDownloadOptions
  8. {
  9. /// <summary>
  10. /// Download Art Image
  11. /// </summary>
  12. /// <value><c>true</c> if art; otherwise, <c>false</c>.</value>
  13. public bool Art { get; set; }
  14. /// <summary>
  15. /// Download Logo Image
  16. /// </summary>
  17. /// <value><c>true</c> if logo; otherwise, <c>false</c>.</value>
  18. public bool Logo { get; set; }
  19. /// <summary>
  20. /// Download Primary Image
  21. /// </summary>
  22. /// <value><c>true</c> if primary; otherwise, <c>false</c>.</value>
  23. public bool Primary { get; set; }
  24. /// <summary>
  25. /// Download Backdrop Images
  26. /// </summary>
  27. /// <value><c>true</c> if backdrops; otherwise, <c>false</c>.</value>
  28. public bool Backdrops { get; set; }
  29. /// <summary>
  30. /// Download Disc Image
  31. /// </summary>
  32. /// <value><c>true</c> if disc; otherwise, <c>false</c>.</value>
  33. public bool Disc { get; set; }
  34. /// <summary>
  35. /// Download Thumb Image
  36. /// </summary>
  37. /// <value><c>true</c> if thumb; otherwise, <c>false</c>.</value>
  38. public bool Thumb { get; set; }
  39. /// <summary>
  40. /// Download Banner Image
  41. /// </summary>
  42. /// <value><c>true</c> if banner; otherwise, <c>false</c>.</value>
  43. public bool Banner { get; set; }
  44. /// <summary>
  45. /// Initializes a new instance of the <see cref="ImageDownloadOptions"/> class.
  46. /// </summary>
  47. public ImageDownloadOptions()
  48. {
  49. Art = true;
  50. Logo = true;
  51. Primary = true;
  52. Backdrops = true;
  53. Disc = true;
  54. Thumb = true;
  55. Banner = true;
  56. }
  57. }
  58. /// <summary>
  59. /// Class MetadataOptions.
  60. /// </summary>
  61. public class MetadataOptions
  62. {
  63. public int MaxBackdrops { get; set; }
  64. public int MinBackdropWidth { get; set; }
  65. public MetadataOptions()
  66. {
  67. MaxBackdrops = 3;
  68. MinBackdropWidth = 1280;
  69. }
  70. }
  71. }