d
This commit is contained in:
@@ -101,8 +101,10 @@ class Folder(Store):
|
||||
cached = Folder._scan_cache.get(location_key)
|
||||
if cached is None:
|
||||
try:
|
||||
debug(f"[folder] Initializing library scan for {location_path}...")
|
||||
initializer = LocalLibraryInitializer(location_path)
|
||||
stats = initializer.scan_and_index() or {}
|
||||
debug(f"[folder] Scan complete. Stats: {stats}")
|
||||
files_new = int(stats.get("files_new", 0) or 0)
|
||||
sidecars = int(stats.get("sidecars_imported", 0) or 0)
|
||||
total_db = int(stats.get("files_total_db", 0) or 0)
|
||||
|
||||
Reference in New Issue
Block a user