aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-22 17:41:29 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-22 17:41:29 -0500
commit2d0ce724ea09bf51cb12b6b04ea63dfaf74b0ad2 (patch)
tree63cf6d2246d8448bc0e0d4ece70217c373845276
parent6c487993cb3803856a1f7e06bc4ba4326fa8f761 (diff)
implement user ordering of local metadata readers
-rw-r--r--MediaBrowser.Server.Implementations/Library/LibraryManager.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
index b59e95c72..66e9e4fa1 100644
--- a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
+++ b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
@@ -717,6 +717,8 @@ namespace MediaBrowser.Server.Implementations.Library
{
var userRootPath = ConfigurationManager.ApplicationPaths.DefaultUserViewsPath;
+ Directory.CreateDirectory(userRootPath);
+
_userRootFolder = RetrieveItem(userRootPath.GetMBId(typeof(UserRootFolder))) as UserRootFolder ??
(UserRootFolder)ResolvePath(new DirectoryInfo(userRootPath));
}