Merge branch 'master' into nullable3

This commit is contained in:
Bond_009
2020-04-15 11:09:14 +02:00
113 changed files with 1607 additions and 3305 deletions

View File

@@ -253,12 +253,7 @@ namespace MediaBrowser.Api
return false;
}
if (!request.IncludeDirectories && isDirectory)
{
return false;
}
return true;
return request.IncludeDirectories || !isDirectory;
});
return entries.Select(f => new FileSystemEntryInfo(f.Name, f.FullName, f.IsDirectory ? FileSystemEntryType.Directory : FileSystemEntryType.File));