Include Splashscreen url in the branding endpoint

This commit is contained in:
David Ullmer 2021-08-17 19:39:48 +02:00 committed by Cody Robibero
parent c70452b4a4
commit 6ad020acb2

View File

@ -1,3 +1,4 @@
using System.Text.Json.Serialization;
using System.Xml.Serialization;
#pragma warning disable CS1591
@ -21,7 +22,17 @@ namespace MediaBrowser.Model.Branding
/// <summary>
/// Gets or sets the splashscreen location on disk.
/// </summary>
/// <value>The location of the user splashscreen.</value>
/// <remarks>
/// Not served via the API.
/// Only used to save the custom uploaded user splashscreen in the configuration file.
/// </remarks>
[JsonIgnore]
public string? SplashscreenLocation { get; set; }
/// <summary>
/// Gets the splashscreen url.
/// </summary>
[XmlIgnore]
public string SplashscreenUrl => "/Branding/Splashscreen";
}
}