瀏覽代碼

implement user ordering of local metadata readers

Luke Pulverenti 11 年之前
父節點
當前提交
2d0ce724ea
共有 1 個文件被更改,包括 2 次插入0 次删除
  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));
             }