Remove unused binary test fixture; correct stale scan comments

Drop an orphaned 4 MB binary fixture that no test references, and fix
two docstrings that inaccurately described the scanner as performing
archive decryption. The loader is sloppak/loose-folder only and does
not decode proprietary archives (see lib/scan_worker.py).
This commit is contained in:
Sin 2026-06-16 18:49:40 +01:00
parent 6c110398b4
commit fca0137989
2 changed files with 2 additions and 2 deletions

View File

@ -3089,7 +3089,7 @@ def _seed_builtin_diagnostic_sloppaks(dlc: Path | None = None) -> None:
def _background_scan():
"""Scan all PSARCs and cache metadata on startup. Uses process pool to bypass the GIL for CPU-bound AES decryption.
"""Scan the library and cache song metadata on startup. Uses a process pool to bypass the GIL for CPU-bound metadata parsing.
Never sets `_scan_status["running"] = False` ownership of that flag
lives in `_scan_runner` so a `_kick_scan()` racing this function's
@ -6523,7 +6523,7 @@ async def upload_song_art_b64(filename: str, data: dict):
@app.get("/api/song/{filename:path}")
async def get_song_info(filename: str):
"""Return song metadata, from cache or by extracting PSARC."""
"""Return song metadata, from cache or by extracting it from the song source."""
import asyncio
dlc = _get_dlc_dir()
if not dlc:

Binary file not shown.