2019-01-28 21:45:00 +00:00
|
|
|
namespace Emby.Server.Implementations
|
2019-01-28 20:58:47 +00:00
|
|
|
{
|
2021-10-02 15:54:31 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Specifies the contract for server startup options.
|
|
|
|
/// </summary>
|
2019-01-28 20:58:47 +00:00
|
|
|
public interface IStartupOptions
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-04-05 17:46:36 +00:00
|
|
|
/// Gets the value of the --ffmpeg command line option.
|
2019-01-28 20:58:47 +00:00
|
|
|
/// </summary>
|
2021-02-27 20:12:55 +00:00
|
|
|
string? FFmpegPath { get; }
|
2019-01-28 20:58:47 +00:00
|
|
|
|
|
|
|
/// <summary>
|
2021-10-02 15:54:31 +00:00
|
|
|
/// Gets a value indicating whether to run as service by the --service command line option.
|
2019-01-28 20:58:47 +00:00
|
|
|
/// </summary>
|
|
|
|
bool IsService { get; }
|
|
|
|
|
|
|
|
/// <summary>
|
2020-04-05 17:46:36 +00:00
|
|
|
/// Gets the value of the --package-name command line option.
|
2019-01-28 20:58:47 +00:00
|
|
|
/// </summary>
|
2021-02-27 20:12:55 +00:00
|
|
|
string? PackageName { get; }
|
2019-01-28 20:58:47 +00:00
|
|
|
|
|
|
|
/// <summary>
|
2020-04-05 17:46:36 +00:00
|
|
|
/// Gets the value of the --restartpath command line option.
|
2019-01-28 20:58:47 +00:00
|
|
|
/// </summary>
|
2021-02-27 20:12:55 +00:00
|
|
|
string? RestartPath { get; }
|
2019-01-28 20:58:47 +00:00
|
|
|
|
|
|
|
/// <summary>
|
2020-04-05 17:46:36 +00:00
|
|
|
/// Gets the value of the --restartargs command line option.
|
2019-01-28 20:58:47 +00:00
|
|
|
/// </summary>
|
2021-02-27 20:12:55 +00:00
|
|
|
string? RestartArgs { get; }
|
2020-04-05 17:46:36 +00:00
|
|
|
|
2020-05-02 16:56:09 +00:00
|
|
|
/// <summary>
|
2020-05-20 13:29:18 +00:00
|
|
|
/// Gets the value of the --published-server-url command line option.
|
2020-05-02 16:56:09 +00:00
|
|
|
/// </summary>
|
2021-02-27 20:12:55 +00:00
|
|
|
string? PublishedServerUrl { get; }
|
2019-01-28 20:58:47 +00:00
|
|
|
}
|
|
|
|
}
|