BrandingOptions.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. using System.Text.Json.Serialization;
  2. using System.Xml.Serialization;
  3. namespace MediaBrowser.Model.Branding;
  4. /// <summary>
  5. /// The branding options.
  6. /// </summary>
  7. public class BrandingOptions
  8. {
  9. /// <summary>
  10. /// Gets or sets the login disclaimer.
  11. /// </summary>
  12. /// <value>The login disclaimer.</value>
  13. public string? LoginDisclaimer { get; set; }
  14. /// <summary>
  15. /// Gets or sets the custom CSS.
  16. /// </summary>
  17. /// <value>The custom CSS.</value>
  18. public string? CustomCss { get; set; }
  19. /// <summary>
  20. /// Gets or sets a value indicating whether to enable the splashscreen.
  21. /// </summary>
  22. public bool SplashscreenEnabled { get; set; } = true;
  23. /// <summary>
  24. /// Gets or sets the splashscreen location on disk.
  25. /// </summary>
  26. /// <remarks>
  27. /// Not served via the API.
  28. /// Only used to save the custom uploaded user splashscreen in the configuration file.
  29. /// </remarks>
  30. [JsonIgnore]
  31. public string? SplashscreenLocation { get; set; }
  32. }