implement user ordering of local metadata readers

pull/702/head
Luke Pulverenti 11 years ago
parent 6c487993cb
commit 2d0ce724ea

@ -717,6 +717,8 @@ namespace MediaBrowser.Server.Implementations.Library
{ {
var userRootPath = ConfigurationManager.ApplicationPaths.DefaultUserViewsPath; var userRootPath = ConfigurationManager.ApplicationPaths.DefaultUserViewsPath;
Directory.CreateDirectory(userRootPath);
_userRootFolder = RetrieveItem(userRootPath.GetMBId(typeof(UserRootFolder))) as UserRootFolder ?? _userRootFolder = RetrieveItem(userRootPath.GetMBId(typeof(UserRootFolder))) as UserRootFolder ??
(UserRootFolder)ResolvePath(new DirectoryInfo(userRootPath)); (UserRootFolder)ResolvePath(new DirectoryInfo(userRootPath));
} }

Loading…
Cancel
Save