mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-02 06:46:31 +01:00
Revert back to NoAutoRunWebApp
Addressed further review comments. Removed unnecessary .ParsedStartupOptions namespace. Removed DataDir, ConfigDir and LogDir from Interface file as not necessary.
This commit is contained in:
@@ -43,7 +43,6 @@ using Emby.Server.Implementations.ScheduledTasks;
|
||||
using Emby.Server.Implementations.Security;
|
||||
using Emby.Server.Implementations.Serialization;
|
||||
using Emby.Server.Implementations.Session;
|
||||
using Emby.Server.Implementations.ParsedStartupOptions;
|
||||
using Emby.Server.Implementations.Threading;
|
||||
using Emby.Server.Implementations.TV;
|
||||
using Emby.Server.Implementations.Updates;
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace Emby.Server.Implementations.EntryPoints
|
||||
{
|
||||
var options = ((ApplicationHost)_appHost).StartupOptions;
|
||||
|
||||
if (options.AutoRunWebApp)
|
||||
if (!options.NoAutoRunWebApp)
|
||||
{
|
||||
BrowserLauncher.OpenWebApp(_appHost);
|
||||
}
|
||||
|
||||
@@ -6,7 +6,6 @@ using MediaBrowser.Common.Configuration;
|
||||
using MediaBrowser.Common.Net;
|
||||
using MediaBrowser.Model.IO;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Emby.Server.Implementations.ParsedStartupOptions;
|
||||
|
||||
namespace Emby.Server.Implementations.FFMpeg
|
||||
{
|
||||
|
||||
@@ -1,22 +1,7 @@
|
||||
namespace Emby.Server.Implementations.ParsedStartupOptions
|
||||
namespace Emby.Server.Implementations
|
||||
{
|
||||
public interface IStartupOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// --datadir
|
||||
/// </summary>
|
||||
string DataDir { get; }
|
||||
|
||||
/// <summary>
|
||||
/// --configdir
|
||||
/// </summary>
|
||||
string ConfigDir { get; }
|
||||
|
||||
/// <summary>
|
||||
/// --logdir
|
||||
/// </summary>
|
||||
string LogDir { get; }
|
||||
|
||||
/// <summary>
|
||||
/// --ffmpeg
|
||||
/// </summary>
|
||||
@@ -35,7 +20,7 @@ namespace Emby.Server.Implementations.ParsedStartupOptions
|
||||
/// <summary>
|
||||
/// --noautorunwebapp
|
||||
/// </summary>
|
||||
bool AutoRunWebApp { get; }
|
||||
bool NoAutoRunWebApp { get; }
|
||||
|
||||
/// <summary>
|
||||
/// --package-name
|
||||
|
||||
Reference in New Issue
Block a user