From 46dd7d8e99ff7167d2d175878896294ed823927f Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Fri, 4 Sep 2026 19:28:59 +0200 Subject: Invalidate the singleton DirectoryService cache on filesystem changes --- Emby.Server.Implementations/Library/LibraryManager.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Emby.Server.Implementations/Library') diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs index 0ced650587..80e89b4305 100644 --- a/Emby.Server.Implementations/Library/LibraryManager.cs +++ b/Emby.Server.Implementations/Library/LibraryManager.cs @@ -3723,8 +3723,7 @@ namespace Emby.Server.Implementations.Library } } - // The validation below would otherwise resolve the libraries root from a listing - // taken before this folder was created. + // The injected service is a singleton, so its listing predates this folder. _directoryService.Invalidate(virtualFolderPath); } finally -- cgit v1.2.3