Browse Source

implement user ordering of local metadata readers

Luke Pulverenti 11 years ago
parent
commit
2d0ce724ea
1 changed files with 2 additions and 0 deletions
  1. 2 0
      MediaBrowser.Server.Implementations/Library/LibraryManager.cs

+ 2 - 0
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));
             }