PluginConfiguration.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 the maximum number of cast members to fetch for an item.
  23. /// </summary>
  24. public int MaxCastMembers { get; set; } = 15;
  25. /// <summary>
  26. /// Gets or sets a value indicating the poster image size to fetch.
  27. /// </summary>
  28. public string? PosterSize { get; set; }
  29. /// <summary>
  30. /// Gets or sets a value indicating the backdrop image size to fetch.
  31. /// </summary>
  32. public string? BackdropSize { get; set; }
  33. /// <summary>
  34. /// Gets or sets a value indicating the profile image size to fetch.
  35. /// </summary>
  36. public string? ProfileSize { get; set; }
  37. /// <summary>
  38. /// Gets or sets a value indicating the still image size to fetch.
  39. /// </summary>
  40. public string? StillSize { get; set; }
  41. }
  42. }