commit
d6cc406c5f
|
@ -65,11 +65,7 @@ namespace MediaBrowser.Api
|
||||||
public void Post(ReportStartupWizardComplete request)
|
public void Post(ReportStartupWizardComplete request)
|
||||||
{
|
{
|
||||||
_config.Configuration.IsStartupWizardCompleted = true;
|
_config.Configuration.IsStartupWizardCompleted = true;
|
||||||
_config.Configuration.EnableLocalizedGuids = true;
|
SetWizardFinishValues(_config.Configuration);
|
||||||
_config.Configuration.EnableCustomPathSubFolders = true;
|
|
||||||
_config.Configuration.EnableDateLastRefresh = true;
|
|
||||||
_config.Configuration.EnableStandaloneMusicKeys = true;
|
|
||||||
_config.Configuration.EnableCaseSensitiveItemIds = true;
|
|
||||||
_config.SaveConfiguration();
|
_config.SaveConfiguration();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -111,6 +107,15 @@ namespace MediaBrowser.Api
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void SetWizardFinishValues(ServerConfiguration config)
|
||||||
|
{
|
||||||
|
config.EnableLocalizedGuids = true;
|
||||||
|
config.EnableCustomPathSubFolders = true;
|
||||||
|
config.EnableDateLastRefresh = true;
|
||||||
|
config.EnableStandaloneMusicKeys = true;
|
||||||
|
config.EnableCaseSensitiveItemIds = true;
|
||||||
|
}
|
||||||
|
|
||||||
public void Post(UpdateStartupConfiguration request)
|
public void Post(UpdateStartupConfiguration request)
|
||||||
{
|
{
|
||||||
_config.Configuration.UICulture = request.UICulture;
|
_config.Configuration.UICulture = request.UICulture;
|
||||||
|
|
|
@ -215,6 +215,9 @@ namespace MediaBrowser.Model.Configuration
|
||||||
{
|
{
|
||||||
Migrations = new string[] { };
|
Migrations = new string[] { };
|
||||||
|
|
||||||
|
EnableLocalizedGuids = true;
|
||||||
|
EnableCustomPathSubFolders = true;
|
||||||
|
|
||||||
ImageSavingConvention = ImageSavingConvention.Compatible;
|
ImageSavingConvention = ImageSavingConvention.Compatible;
|
||||||
PublicPort = 8096;
|
PublicPort = 8096;
|
||||||
PublicHttpsPort = 8920;
|
PublicHttpsPort = 8920;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user