From 221c54cdbacf79b7c0eff7461381009b1a78e081 Mon Sep 17 00:00:00 2001 From: Mikal Stordal Date: Sat, 5 Oct 2024 01:03:46 +0200 Subject: [PATCH] fix: don't scan _any_ of the VFS roots in the ignore rule --- Shokofin/Resolvers/ShokoIgnoreRule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shokofin/Resolvers/ShokoIgnoreRule.cs b/Shokofin/Resolvers/ShokoIgnoreRule.cs index f9957d4d..1c6bcc10 100644 --- a/Shokofin/Resolvers/ShokoIgnoreRule.cs +++ b/Shokofin/Resolvers/ShokoIgnoreRule.cs @@ -65,7 +65,7 @@ public async Task ShouldFilterItem(Folder? parent, FileSystemMetadata file return false; // Assume anything within the VFS is already okay. - if (fileInfo.FullName.StartsWith(Plugin.Instance.VirtualRoot)) + if (Plugin.Instance.AllVirtualRoots.Any(fileInfo.FullName.StartsWith)) return false; Guid? trackerId = null;