mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
removed custom path subfolder setting
This commit is contained in:
parent
0a5db9f2d7
commit
c8e67f6cb1
@ -114,7 +114,6 @@ namespace MediaBrowser.Api
|
|||||||
private void SetWizardFinishValues(ServerConfiguration config)
|
private void SetWizardFinishValues(ServerConfiguration config)
|
||||||
{
|
{
|
||||||
config.EnableLocalizedGuids = true;
|
config.EnableLocalizedGuids = true;
|
||||||
config.EnableCustomPathSubFolders = true;
|
|
||||||
config.EnableStandaloneMusicKeys = true;
|
config.EnableStandaloneMusicKeys = true;
|
||||||
config.EnableCaseSensitiveItemIds = true;
|
config.EnableCaseSensitiveItemIds = true;
|
||||||
//config.EnableFolderView = true;
|
//config.EnableFolderView = true;
|
||||||
|
@ -49,12 +49,6 @@ namespace MediaBrowser.Model.Configuration
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The cache path.</value>
|
/// <value>The cache path.</value>
|
||||||
public string CachePath { get; set; }
|
public string CachePath { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets or sets a value indicating whether [enable custom path sub folders].
|
|
||||||
/// </summary>
|
|
||||||
/// <value><c>true</c> if [enable custom path sub folders]; otherwise, <c>false</c>.</value>
|
|
||||||
public bool EnableCustomPathSubFolders { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="BaseApplicationConfiguration" /> class.
|
/// Initializes a new instance of the <see cref="BaseApplicationConfiguration" /> class.
|
||||||
|
@ -95,13 +95,9 @@ namespace MediaBrowser.Server.Implementations.Configuration
|
|||||||
{
|
{
|
||||||
metadataPath = GetInternalMetadataPath();
|
metadataPath = GetInternalMetadataPath();
|
||||||
}
|
}
|
||||||
else if (Configuration.EnableCustomPathSubFolders)
|
|
||||||
{
|
|
||||||
metadataPath = Path.Combine(Configuration.MetadataPath, "metadata");
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
metadataPath = Configuration.MetadataPath;
|
metadataPath = Path.Combine(Configuration.MetadataPath, "metadata");
|
||||||
}
|
}
|
||||||
|
|
||||||
((ServerApplicationPaths)ApplicationPaths).InternalMetadataPath = metadataPath;
|
((ServerApplicationPaths)ApplicationPaths).InternalMetadataPath = metadataPath;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user