fix ImageByNameService

pull/702/head
Luke Pulverenti 9 years ago
parent 90b915256d
commit c7af7f6d58

@ -131,7 +131,7 @@ namespace MediaBrowser.Api.Images
{ {
try try
{ {
return _fileSystem.GetFiles(path) return _fileSystem.GetFiles(path, true)
.Where(i => BaseItem.SupportedImageExtensions.Contains(i.Extension, StringComparer.Ordinal)) .Where(i => BaseItem.SupportedImageExtensions.Contains(i.Extension, StringComparer.Ordinal))
.Select(i => new ImageByNameInfo .Select(i => new ImageByNameInfo
{ {

Loading…
Cancel
Save