Files
SpotiFLAC-Mobile/rust_backend/crates
zarzet a2c01d72bf feat(library): use folder images as covers for songs without one
Large libraries often keep album art as cover.jpg or folder.jpg beside
the songs instead of embedding it, so those songs showed no cover.

When a song has no embedded artwork, local scans now fall back to an
image in its folder: cover, folder, front, album, albumart (jpg, jpeg,
png, webp), case-insensitive, ignoring hidden and AppleDouble files. A
disc folder (CD1, Disc 2, ...) without one uses its parent's image.
Embedded artwork always wins.

The Rust path scan (desktop, iOS, Android file paths) picks the image
from the directory listing it already makes and hands it to the
workers; the thumbnail key includes the image path, size and mtime, so
a replaced image gets a new thumbnail. CUE tracks get the same
fallback. The Android SAF scan picks the image from its own listing
through new FFI helpers and makes each image into a content-named
thumbnail once per scan.
2026-11-08 15:54:58 +07:00
..