Skip to main content

CATALOG_ITEM_TYPES

Constant CATALOG_ITEM_TYPES 

Source
const CATALOG_ITEM_TYPES: &[&str];
Expand description

Item types worth caching for offline browsing: containers the library landing pages render plus the playable leaves users queue for download. MusicArtist and Playlist are here because search groups results by them (UR-060’s Artists group). Without them in the crawl, the local index can never answer an artist query and those groups can only ever be filled by the server leg. Keep this in step with what prune_stale_catalog is allowed to sweep — the crawl is only authoritative for the types it asks for.

TRACES: UR-065, UR-060 | DR-111