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