diff --git a/lib/scan.py b/lib/scan.py index 820cb50e..9aa9338c 100644 --- a/lib/scan.py +++ b/lib/scan.py @@ -135,7 +135,7 @@ def background_scan(): # Both are kept out of the scan; _resolve_dlc_path still loads them by # path for playback. def _is_excluded_from_library(p: Path) -> bool: - return "tutorials-builtin" in p.parts or "minigames-builtin" in p.parts + return "tutorials-builtin" in p.parts or "minigames-builtin" in p.parts or any(part.startswith(".") for part in p.relative_to(dlc).parts) # Sloppaks: match both file (zip) and directory form, across both the # `.feedpak` and legacy `.sloppak` suffixes. _cands = sorted(p for ext in sloppak_mod.SONG_EXTS for p in dlc.rglob(f"*{ext}"))