This commit is contained in:
Luke Pulverenti
2017-11-10 16:22:38 -05:00
parent 901d7b509c
commit 711f588084
6 changed files with 32 additions and 10 deletions

View File

@@ -709,6 +709,9 @@ namespace Emby.Server.Implementations.Library
var rootFolder = GetItemById(GetNewItemId(rootFolderPath, typeof(AggregateFolder))) as AggregateFolder ?? (AggregateFolder)ResolvePath(_fileSystem.GetDirectoryInfo(rootFolderPath));
// In case program data folder was moved
rootFolder.Path = rootFolderPath;
// Add in the plug-in folders
foreach (var child in PluginFolderCreators)
{
@@ -771,6 +774,9 @@ namespace Emby.Server.Implementations.Library
tmpItem = (UserRootFolder)ResolvePath(_fileSystem.GetDirectoryInfo(userRootPath));
}
// In case program data folder was moved
tmpItem.Path = userRootPath;
_userRootFolder = tmpItem;
}
}