fix windows restart

This commit is contained in:
Luke Pulverenti
2015-09-21 21:05:33 -04:00
parent a3f11aac38
commit 71780d401f
6 changed files with 28 additions and 11 deletions

View File

@@ -1165,7 +1165,7 @@ namespace MediaBrowser.Server.Implementations.Library
/// <returns>IEnumerable{VirtualFolderInfo}.</returns>
private IEnumerable<VirtualFolderInfo> GetView(string path)
{
return _fileSystem.GetFileSystemEntryPaths(path)
return _fileSystem.GetDirectoryPaths(path)
.Select(dir => new VirtualFolderInfo
{
Name = Path.GetFileName(dir),