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