diff options
| author | Christopher Young <c.t.ythegamer@gmail.com> | 2025-10-08 12:27:51 -0600 |
|---|---|---|
| committer | Christopher Young <c.t.ythegamer@gmail.com> | 2025-10-08 12:27:51 -0600 |
| commit | 622b60064dd2c9bf6cea139ab2056011d9e9c203 (patch) | |
| tree | ec9f84d01b7c3ff3ffd23e89bb27aa4bf4e131ff /Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs | |
| parent | 91b2b7fc3dfe23fdc01834f2f1364e9f8bd98fe4 (diff) | |
| parent | 0b4854c5eff7c862d05f43048e08dd3a1a25efaa (diff) | |
Merge branch 'master' of https://github.com/JadedRain/jellyfin
Diffstat (limited to 'Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs b/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs index f9538fbad6..ca0744a17d 100644 --- a/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs +++ b/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs @@ -37,6 +37,11 @@ namespace Emby.Server.Implementations.Library return false; } + if (IgnorePatterns.ShouldIgnore(fileInfo.FullName)) + { + return true; + } + // Don't ignore top level folders if (fileInfo.IsDirectory && (parent is AggregateFolder || (parent?.IsTopParent ?? false))) @@ -44,11 +49,6 @@ namespace Emby.Server.Implementations.Library return false; } - if (IgnorePatterns.ShouldIgnore(fileInfo.FullName)) - { - return true; - } - if (parent is null) { return false; |
