mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-28 11:28:27 +01:00
remove unseeded file system call
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user