add some web client settings
This commit is contained in:
parent
fd79ee25d8
commit
f9abff883e
|
@ -773,5 +773,12 @@
|
||||||
"HeaderThisDevice": "This Device",
|
"HeaderThisDevice": "This Device",
|
||||||
"OptionAuto": "Auto",
|
"OptionAuto": "Auto",
|
||||||
"OptionYes": "Yes",
|
"OptionYes": "Yes",
|
||||||
"OptionNo": "No"
|
"OptionNo": "No",
|
||||||
|
"LabelHomePageSection1": "Home page section one:",
|
||||||
|
"LabelHomePageSection2": "Home page section two:",
|
||||||
|
"LabelHomePageSection3": "Home page section three:",
|
||||||
|
"OptionLibraryButtons": "Library buttons",
|
||||||
|
"OptionLibraryTiles": "Library tiles",
|
||||||
|
"OptionResumablemedia": "Resume",
|
||||||
|
"OptionLatestMedia": "Latest media"
|
||||||
}
|
}
|
|
@ -254,7 +254,7 @@ namespace MediaBrowser.ServerApplication
|
||||||
{
|
{
|
||||||
//Application.EnableVisualStyles();
|
//Application.EnableVisualStyles();
|
||||||
//Application.SetCompatibleTextRenderingDefault(false);
|
//Application.SetCompatibleTextRenderingDefault(false);
|
||||||
_serverNotifyIcon = new ServerNotifyIcon(_appHost.LogManager, _appHost, _appHost.ServerConfigurationManager, _appHost.UserManager, _appHost.LibraryManager, _appHost.JsonSerializer, _appHost.DisplayPreferencesRepository, _appHost.ItemRepository, _appHost.LocalizationManager);
|
_serverNotifyIcon = new ServerNotifyIcon(_appHost.LogManager, _appHost, _appHost.ServerConfigurationManager, _appHost.UserManager, _appHost.LibraryManager, _appHost.JsonSerializer, _appHost.ItemRepository, _appHost.LocalizationManager);
|
||||||
Application.Run();
|
Application.Run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
using System;
|
using MediaBrowser.Controller;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
using MediaBrowser.Controller;
|
|
||||||
using MediaBrowser.Controller.Configuration;
|
using MediaBrowser.Controller.Configuration;
|
||||||
using MediaBrowser.Controller.Library;
|
using MediaBrowser.Controller.Library;
|
||||||
using MediaBrowser.Controller.Localization;
|
using MediaBrowser.Controller.Localization;
|
||||||
|
@ -10,6 +7,9 @@ using MediaBrowser.Model.Logging;
|
||||||
using MediaBrowser.Model.Serialization;
|
using MediaBrowser.Model.Serialization;
|
||||||
using MediaBrowser.ServerApplication.Logging;
|
using MediaBrowser.ServerApplication.Logging;
|
||||||
using MediaBrowser.ServerApplication.Native;
|
using MediaBrowser.ServerApplication.Native;
|
||||||
|
using System;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace MediaBrowser.ServerApplication
|
namespace MediaBrowser.ServerApplication
|
||||||
{
|
{
|
||||||
|
@ -40,7 +40,6 @@ namespace MediaBrowser.ServerApplication
|
||||||
private readonly IUserManager _userManager;
|
private readonly IUserManager _userManager;
|
||||||
private readonly ILibraryManager _libraryManager;
|
private readonly ILibraryManager _libraryManager;
|
||||||
private readonly IJsonSerializer _jsonSerializer;
|
private readonly IJsonSerializer _jsonSerializer;
|
||||||
private readonly IDisplayPreferencesRepository _displayPreferencesManager;
|
|
||||||
private readonly IItemRepository _itemRepository;
|
private readonly IItemRepository _itemRepository;
|
||||||
private readonly ILocalizationManager _localization;
|
private readonly ILocalizationManager _localization;
|
||||||
private LogForm _logForm;
|
private LogForm _logForm;
|
||||||
|
@ -63,7 +62,6 @@ namespace MediaBrowser.ServerApplication
|
||||||
IServerConfigurationManager configurationManager,
|
IServerConfigurationManager configurationManager,
|
||||||
IUserManager userManager, ILibraryManager libraryManager,
|
IUserManager userManager, ILibraryManager libraryManager,
|
||||||
IJsonSerializer jsonSerializer,
|
IJsonSerializer jsonSerializer,
|
||||||
IDisplayPreferencesRepository displayPreferencesManager,
|
|
||||||
IItemRepository itemRepo, ILocalizationManager localization)
|
IItemRepository itemRepo, ILocalizationManager localization)
|
||||||
{
|
{
|
||||||
_logger = logManager.GetLogger("MainWindow");
|
_logger = logManager.GetLogger("MainWindow");
|
||||||
|
@ -75,7 +73,6 @@ namespace MediaBrowser.ServerApplication
|
||||||
_userManager = userManager;
|
_userManager = userManager;
|
||||||
_libraryManager = libraryManager;
|
_libraryManager = libraryManager;
|
||||||
_jsonSerializer = jsonSerializer;
|
_jsonSerializer = jsonSerializer;
|
||||||
_displayPreferencesManager = displayPreferencesManager;
|
|
||||||
|
|
||||||
var components = new System.ComponentModel.Container();
|
var components = new System.ComponentModel.Container();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user