PluginConfiguration.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. using MediaBrowser.Model.Plugins;
  2. namespace MediaBrowser.Providers.Plugins.Tmdb
  3. {
  4. /// <summary>
  5. /// Plugin configuration class for TMDb library.
  6. /// </summary>
  7. public class PluginConfiguration : BasePluginConfiguration
  8. {
  9. /// <summary>
  10. /// Gets or sets a value to use as the API key for accessing TMDb. This is intentionally excluded from the
  11. /// settings page as the API key should not need to be changed by most users.
  12. /// </summary>
  13. public string TmdbApiKey { get; set; } = string.Empty;
  14. /// <summary>
  15. /// Gets or sets a value indicating whether include adult content when searching with TMDb.
  16. /// </summary>
  17. public bool IncludeAdult { get; set; }
  18. /// <summary>
  19. /// Gets or sets a value indicating whether tags should be imported for series from TMDb.
  20. /// </summary>
  21. public bool ExcludeTagsSeries { get; set; }
  22. /// <summary>
  23. /// Gets or sets a value indicating whether tags should be imported for movies from TMDb.
  24. /// </summary>
  25. public bool ExcludeTagsMovies { get; set; }
  26. /// <summary>
  27. /// Gets or sets a value indicating whether season name should be imported from TMDb.
  28. /// </summary>
  29. public bool ImportSeasonName { get; set; }
  30. /// <summary>
  31. /// Gets or sets a value indicating the maximum number of cast members to fetch for an item.
  32. /// </summary>
  33. public int MaxCastMembers { get; set; } = 15;
  34. /// <summary>
  35. /// Gets or sets a value indicating the poster image size to fetch.
  36. /// </summary>
  37. public string? PosterSize { get; set; }
  38. /// <summary>
  39. /// Gets or sets a value indicating the backdrop image size to fetch.
  40. /// </summary>
  41. public string? BackdropSize { get; set; }
  42. /// <summary>
  43. /// Gets or sets a value indicating the logo image size to fetch.
  44. /// </summary>
  45. public string? LogoSize { get; set; }
  46. /// <summary>
  47. /// Gets or sets a value indicating the profile image size to fetch.
  48. /// </summary>
  49. public string? ProfileSize { get; set; }
  50. /// <summary>
  51. /// Gets or sets a value indicating the still image size to fetch.
  52. /// </summary>
  53. public string? StillSize { get; set; }
  54. }
  55. }