Explorar o código

implement user ordering of local metadata readers

Luke Pulverenti %!s(int64=11) %!d(string=hai) anos
pai
achega
2d0ce724ea

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