remove unseeded file system call

This commit is contained in:
Luke Pulverenti
2014-02-06 00:17:00 -05:00
parent 821a3d29a2
commit ca0583bcbe
2 changed files with 7 additions and 7 deletions

View File

@@ -72,13 +72,7 @@ namespace MediaBrowser.Providers.All
return new List<string>();
}
var path = item.Path;
var fileInfo = _fileSystem.GetFileSystemInfo(path) as DirectoryInfo;
if (fileInfo == null)
{
path = Path.GetDirectoryName(path);
}
var path = item.ContainingFolderPath;
if (includeDirectories)
{