fix: fallback for fake cbr

This commit is contained in:
2026-03-12 14:17:21 +01:00
parent 4aafed3d31
commit 8d98056375
2 changed files with 38 additions and 2 deletions

View File

@@ -165,6 +165,13 @@ pub async fn scan_library_discovery(
continue;
}
// Skip macOS Apple Double resource fork files (._*)
let file_name_raw = entry.file_name().to_string_lossy();
if file_name_raw.starts_with("._") {
trace!("[SCAN] Skipping macOS resource fork: {}", path.display());
continue;
}
// Check if this file is under a skipped dir
let under_skipped = skipped_dir_prefixes
.iter()