Skip to main content

ArtistImages

Type Alias ArtistImages 

Source
pub type ArtistImages = (HashMap<String, PathBuf>, HashMap<String, ArtistImageRef>);
Expand description

Per-artist images, source-agnostic: (overrides, photos). overrides are user-set custom photos (always a local path, highest priority); photos are the synced photo per artist as a uniform reader::ArtistImageRef (a server URL or a local path — server wins when both exist), resolved by the cover seam so callers never branch on origin. Both keyed by normalized artist name.