aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/IStartupOptions.cs
diff options
context:
space:
mode:
authorPloughPuff <ploughpuff@protonmail.com>2019-01-28 20:58:47 +0000
committerBond-009 <bond.009@outlook.com>2019-01-31 18:56:34 +0100
commite18b89ca275feceee21b540878017a2373e7de6c (patch)
treed81c2b3c19a418d609c0ba66c71b85eb3f83106e /Emby.Server.Implementations/IStartupOptions.cs
parentebd2a3008791ac4043a775d48f0971a554bd9ff4 (diff)
Move Options to Jellyfin.Server and create interface file
Changes following review comments.
Diffstat (limited to 'Emby.Server.Implementations/IStartupOptions.cs')
-rw-r--r--Emby.Server.Implementations/IStartupOptions.cs55
1 files changed, 55 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/IStartupOptions.cs b/Emby.Server.Implementations/IStartupOptions.cs
new file mode 100644
index 000000000..878bb6640
--- /dev/null
+++ b/Emby.Server.Implementations/IStartupOptions.cs
@@ -0,0 +1,55 @@
+namespace Emby.Server.Implementations.ParsedStartupOptions
+{
+ public interface IStartupOptions
+ {
+ /// <summary>
+ /// --datadir
+ /// </summary>
+ string DataDir { get; }
+
+ /// <summary>
+ /// --configdir
+ /// </summary>
+ string ConfigDir { get; }
+
+ /// <summary>
+ /// --logdir
+ /// </summary>
+ string LogDir { get; }
+
+ /// <summary>
+ /// --ffmpeg
+ /// </summary>
+ string FFmpegPath { get; }
+
+ /// <summary>
+ /// --ffprobe
+ /// </summary>
+ string FFprobePath { get; }
+
+ /// <summary>
+ /// --service
+ /// </summary>
+ bool IsService { get; }
+
+ /// <summary>
+ /// --noautorunwebapp
+ /// </summary>
+ bool AutoRunWebApp { get; }
+
+ /// <summary>
+ /// --package-name
+ /// </summary>
+ string PackageName { get; }
+
+ /// <summary>
+ /// --restartpath
+ /// </summary>
+ string RestartPath { get; }
+
+ /// <summary>
+ /// --restartargs
+ /// </summary>
+ string RestartArgs { get; }
+ }
+}