mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-12-27 09:56:33 +00:00
Update MediaBrowser.LocalMetadata/Images/LocalImageProvider.cs
Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com>
This commit is contained in:
parent
9e665ff520
commit
e575d815cc
|
@ -117,7 +117,7 @@ namespace MediaBrowser.LocalMetadata.Images
|
|||
return Enumerable.Empty<FileSystemMetadata>();
|
||||
}
|
||||
|
||||
return directoryService.GetFiles(path)
|
||||
return directoryService.GetFileSystemEntries(path)
|
||||
.Where(i =>
|
||||
(includeDirectories && i.IsDirectory)
|
||||
|| Array.FindIndex(BaseItem.SupportedImageExtensions, ext => string.Equals(ext, i.Extension, StringComparison.OrdinalIgnoreCase)) != -1)
|
||||
|
|
Loading…
Reference in a new issue