From e575d815cce8c18a2229c6bb9d981baed75dee52 Mon Sep 17 00:00:00 2001 From: Claus Vium Date: Tue, 14 Dec 2021 22:57:01 +0100 Subject: [PATCH] Update MediaBrowser.LocalMetadata/Images/LocalImageProvider.cs Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com> --- MediaBrowser.LocalMetadata/Images/LocalImageProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.LocalMetadata/Images/LocalImageProvider.cs b/MediaBrowser.LocalMetadata/Images/LocalImageProvider.cs index 3809912ca4..efd02aef06 100644 --- a/MediaBrowser.LocalMetadata/Images/LocalImageProvider.cs +++ b/MediaBrowser.LocalMetadata/Images/LocalImageProvider.cs @@ -117,7 +117,7 @@ namespace MediaBrowser.LocalMetadata.Images return Enumerable.Empty(); } - 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)