feat: add reco_get_home_resolved Rust command with 3-tier metadata cache
Add persistent metadata cache tables (reco_album_meta, reco_track_meta, reco_artist_meta) with no TTL for stable played-item metadata. Implement reco_get_home_resolved command that returns fully-resolved card data in a single IPC call using 3-tier resolution: 1. Reco meta cache (persistent, sub-ms) 2. API cache (24h TTL, sub-ms) 3. Qobuz API (parallel HTTP fallback) Also refactors reco_get_home_ml to use shared get_home_seeds_internal to avoid seed-gathering duplication.
This commit is contained in:
1 parent
ee7ea4f164
commit
ee8cd286f3
5 files changed
+1077
-72
No files matched your search
@@ -751,6 +751,7 @@ pub fn run() {
|
||||
reco_store::commands::get_playlist_suggestions,
|
||||
reco_store::commands::reco_backfill_genres,
|
||||
reco_store::commands::reco_needs_genre_backfill,
|
||||
reco_store::commands::reco_get_home_resolved,
|
||||
// Session persistence commands
|
||||
session_store::save_session_state,
|
||||
session_store::load_session_state,
|
||||
|
||||
Reference in new issue
Block a user