PluginConfiguration.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 indicating whether include adult content when searching with TMDb.
  11. /// </summary>
  12. public bool IncludeAdult { get; set; }
  13. /// <summary>
  14. /// Gets or sets a value indicating whether tags should be imported for series from TMDb.
  15. /// </summary>
  16. public bool ExcludeTagsSeries { get; set; }
  17. /// <summary>
  18. /// Gets or sets a value indicating whether tags should be imported for movies from TMDb.
  19. /// </summary>
  20. public bool ExcludeTagsMovies { get; set; }
  21. /// <summary>
  22. /// Gets or sets a value indicating whether season name should be imported from TMDb.
  23. /// </summary>
  24. public bool ImportSeasonName { get; set; }
  25. /// <summary>
  26. /// Gets or sets a value indicating the maximum number of cast members to fetch for an item.
  27. /// </summary>
  28. public int MaxCastMembers { get; set; } = 15;
  29. /// <summary>
  30. /// Gets or sets a value indicating the poster image size to fetch.
  31. /// </summary>
  32. public string? PosterSize { get; set; }
  33. /// <summary>
  34. /// Gets or sets a value indicating the backdrop image size to fetch.
  35. /// </summary>
  36. public string? BackdropSize { get; set; }
  37. /// <summary>
  38. /// Gets or sets a value indicating the profile image size to fetch.
  39. /// </summary>
  40. public string? ProfileSize { get; set; }
  41. /// <summary>
  42. /// Gets or sets a value indicating the still image size to fetch.
  43. /// </summary>
  44. public string? StillSize { get; set; }
  45. }
  46. }