IStartupOptions.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. namespace Emby.Server.Implementations
  2. {
  3. /// <summary>
  4. /// Specifies the contract for server startup options.
  5. /// </summary>
  6. public interface IStartupOptions
  7. {
  8. /// <summary>
  9. /// Gets the value of the --ffmpeg command line option.
  10. /// </summary>
  11. string? FFmpegPath { get; }
  12. /// <summary>
  13. /// Gets a value indicating whether to run as service by the --service command line option.
  14. /// </summary>
  15. bool IsService { get; }
  16. /// <summary>
  17. /// Gets the value of the --package-name command line option.
  18. /// </summary>
  19. string? PackageName { get; }
  20. /// <summary>
  21. /// Gets the value of the --restartpath command line option.
  22. /// </summary>
  23. string? RestartPath { get; }
  24. /// <summary>
  25. /// Gets the value of the --restartargs command line option.
  26. /// </summary>
  27. string? RestartArgs { get; }
  28. /// <summary>
  29. /// Gets the value of the --published-server-url command line option.
  30. /// </summary>
  31. string? PublishedServerUrl { get; }
  32. }
  33. }