Remove file extension filter and fix build

This commit is contained in:
cvium
2022-01-01 20:07:03 +01:00
parent 58b9e5af79
commit 28c2ac9cc0
3 changed files with 48 additions and 7 deletions

View File

@@ -2700,7 +2700,7 @@ namespace Emby.Server.Implementations.Library
var current = fileSystemChildren[i];
if (current.IsDirectory && _namingOptions.AllExtrasTypesFolderNames.ContainsKey(current.Name))
{
var filesInSubFolder = _fileSystem.GetFiles(current.FullName, _namingOptions.VideoFileExtensions, false, false);
var filesInSubFolder = _fileSystem.GetFiles(current.FullName, null, false, false);
foreach (var file in filesInSubFolder)
{
if (!_extraResolver.TryGetExtraTypeForOwner(file.FullName, ownerVideoInfo, out var extraType))