aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/IO/LibraryMonitor.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-09-03 11:51:02 +0200
committerShadowghost <Ghost_of_Stone@web.de>2026-09-03 11:51:02 +0200
commitb724e57458e60e967bf05e943c5cf6b1a41f4044 (patch)
tree9ec216e1c55f0a818d89440a54817e9d50506b5b /Emby.Server.Implementations/IO/LibraryMonitor.cs
parentd73e3d964e3ce8197ec86bdaad447072305bc0d6 (diff)
Reduce comments
Diffstat (limited to 'Emby.Server.Implementations/IO/LibraryMonitor.cs')
-rw-r--r--Emby.Server.Implementations/IO/LibraryMonitor.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/IO/LibraryMonitor.cs b/Emby.Server.Implementations/IO/LibraryMonitor.cs
index bc76c99451..e6a33d9dd3 100644
--- a/Emby.Server.Implementations/IO/LibraryMonitor.cs
+++ b/Emby.Server.Implementations/IO/LibraryMonitor.cs
@@ -368,10 +368,8 @@ namespace Emby.Server.Implementations.IO
return;
}
- // Something changed on disk that the server did not necessarily do itself, so whatever is
- // cached about that path and its folder is now a guess. This sits above the checks below
- // because a change we deliberately do not refresh for still has to be read correctly the
- // next time somebody looks at that folder.
+ // Invalidate before the checks below: a change we deliberately do not refresh for still
+ // has to be read correctly the next time somebody looks at that folder.
_directoryService.Invalidate(path);
// Ignore certain files, If the parent of an ignored path has a change event, ignore that too