Merge pull request #16166 from Shadowghost/ignore-caching

Implement ignore rule caching
This commit is contained in:
Niels van Velzen
2026-05-04 17:59:48 +02:00
committed by GitHub
8 changed files with 665 additions and 41 deletions

View File

@@ -177,6 +177,13 @@ namespace MediaBrowser.Controller.Library
/// <returns>Task.</returns>
Task ValidateTopLibraryFolders(CancellationToken cancellationToken, bool removeRoot = false);
/// <summary>
/// Clears the cached ignore rule directory lookups.
/// Call this before triggering a library scan or item refresh to ensure
/// any changes to .ignore files are picked up.
/// </summary>
void ClearIgnoreRuleCache();
Task UpdateImagesAsync(BaseItem item, bool forceUpdate = false);
/// <summary>