mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 09:04:42 +01:00
fixes #200 - MB3 Locking Folders for a long time
This commit is contained in:
@@ -394,9 +394,9 @@ namespace MediaBrowser.Server.Implementations.IO
|
||||
{
|
||||
try
|
||||
{
|
||||
var data = FileSystem.GetFileData(path);
|
||||
var data = FileSystem.GetFileSystemInfo(path);
|
||||
|
||||
if (!data.HasValue || data.Value.IsDirectory)
|
||||
if (!data.Exists || data.Attributes.HasFlag(FileAttributes.Directory))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user